CSS named colour

Orange

#ffa500

A CSS named colour: orange is valid anywhere a colour is expected.

RGB
rgb(255 165 0)
HSL
39°, 100%, 50%
OKLCh
79.3% 0.171 70.7

Open in the picker

Orange in every format

Web & CSSThe everyday formats for stylesheets and design tools.

Hex#ffa500
RGBrgb(255 165 0)
RGB legacyrgb(255, 165, 0)
RGB percentrgb(100% 64.71% 0%)
HSLhsl(38.8 100% 50%)
HSL legacyhsl(38.8, 100%, 50%)
HSV / HSBhsv(38.8, 100%, 100%)
HWBhwb(38.8 0% 0%)
Nearest nameorange
CMYKcmyk(0%, 35.3%, 100%, 0%)Naive conversion. Real print work needs an ICC profile.

Perceptual & wide gamutModern CSS colour spaces for uniform scales and P3 displays.

OKLChoklch(79.269% 0.17103 70.67)Modern CSS colour space for even palettes — better than HSL when building scales.
OKLaboklab(79.269% 0.05661 0.16138)
CIE LChlch(75.59% 83.769 70.824)
CIE Lablab(75.59% 27.516 79.121)
Display P3color(display-p3 0.9497 0.6629 0.233)
Rec. 2020color(rec2020 0.8673 0.6408 0.185)
srgb-linearcolor(srgb-linear 1 0.3763 0)Light-linear sRGB — the same numbers a shader wants for maths.
CIE XYZ (D65)color(xyz-d65 0.5469 0.4817 0.0642)

ShadersGLSL, HLSL and WGSL vectors in both encoded and linear form.

GLSL vec3 — sRGBvec3(1.0, 0.647, 0.0)Encoded values. Use when writing straight to the framebuffer.
GLSL vec3 — linearvec3(1.0, 0.376, 0.0)Light-linear values. Use for lighting, blending and mixing.
GLSL vec4 — sRGBvec4(1.0, 0.647, 0.0, 1.0)
GLSL vec4 — linearvec4(1.0, 0.376, 0.0, 1.0)
GLSL ivec3ivec3(255, 165, 0)
HLSL float3 — sRGBfloat3(1.0, 0.647, 0.0)
HLSL float3 — linearfloat3(1.0, 0.376, 0.0)
HLSL float4 — sRGBfloat4(1.0, 0.647, 0.0, 1.0)
HLSL half4 — sRGBhalf4(1.0, 0.647, 0.0, 1.0)
WGSL vec3f — sRGBvec3f(1.0, 0.647, 0.0)
WGSL vec4f — sRGBvec4f(1.0, 0.647, 0.0, 1.0)
WGSL vec3<f32> — linearvec3<f32>(1.0, 0.376, 0.0)

Engines & appsConstructors for Unity, Unreal, Godot, Flutter, SwiftUI and Android.

Unity Colornew Color(1.0f, 0.647f, 0.0f, 1.0f)Color for everyday scripting (0–1). Color32 when you need whole numbers from 0 to 255.
Unity Color32new Color32(255, 165, 0, 255)
Unreal FLinearColorFLinearColor(1.0f, 0.3763f, 0.0f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255.
Unreal FColorFColor(255, 165, 0, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor.
Godot ColorColor(1, 0.647, 0, 1)
Flutter ColorColor(0xFFFFA500)Packed ARGB, so alpha comes first.
Android ColorColor.rgb(255, 165, 0)
SwiftUI ColorColor(red: 1, green: 0.647, blue: 0)
UIKit UIColorUIColor(red: 1, green: 0.647, blue: 0, alpha: 1)

Raw valuesPacked integers and plain arrays.

0x hex0xFFA500
0x hex (ARGB)0xFFFFA500
Array 0–1[1, 0.647, 0]
Array 0–255[255, 165, 0]
Decimal integer16753920

Contrast and accessibility

WCAG 2 ratios are what audits and legislation reference. APCA is shown alongside because WCAG 2 is known to misjudge mid-tone backgrounds, and it is the basis of the WCAG 3 draft.

PairingWCAG 2 ratioLevelAPCASuitable for
Orange on white1.97:1FailLc 38Non-text elements only
Orange on black10.63:1AAALc 65Headings and large text

Orange text on a white background

Orange text on a black background

White text on Orange

Black text on Orange

Tonal scale

Hue held fixed while lightness walks OKLCh, ready to use as a design system ramp.

  • 50#fff3d4
  • 100#ffe6b9
  • 200#ffd087
  • 300#ffb243
  • 400#e99400
  • 500#c57700
  • 600#a36000
  • 700#844c00
  • 800#6a3b00
  • 900#552d00
  • 950#341700

Tints and shades

Mixed perceptually toward white and black, so the steps feel evenly spaced.

  • Tint 1#ffb553
  • Tint 2#ffc57b
  • Tint 3#ffd49f
  • Tint 4#ffe2bf
  • Tint 5#fff1df
  • Shade 1#c88100
  • Shade 2#945e00
  • Shade 3#633d00
  • Shade 4#361f00
  • Shade 5#0f0600

Colours that work with Orange

Complementary, triadic and analogous partners, rotated in OKLCh so they keep the same apparent brightness.

  • #78c1ff
  • #00dad3
  • #de99ff
  • #ff986e
  • #d4bd00

Closest CSS names

  • orangeexact match
  • sandybrownΔEok 0.053
  • darkorangeΔEok 0.057
  • goldenrodΔEok 0.060
  • lightsalmonΔEok 0.085
  • burlywoodΔEok 0.094