#D9A238#D9A238

#D9A238 is a light, vivid orange. Relative luminance 0.409; OKLCH L 74.6% C 0.135 H 79.9°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#D9A238
RGBrgb(217, 162, 56)
HSLhsl(40, 68%, 54%)
HSVhsv(40, 74%, 85%)
CMYKcmyk(0%, 25.3%, 74.2%, 14.9%)
CIE-LABlab(70.09, 10.51, 60.02)
CIE-LCHlch(70.09, 60.94, 80.07°)
OKLaboklab(74.6% 0.0236 0.1325)
OKLCHoklch(74.6% 0.135 79.9)
XYZxyz(42.2522, 40.8811, 9.4061)
Luminance0.4088 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9A238 #386FD9
analogous
#D95138 #D9A238 #BFD938
triadic
#D9A238 #38D9A2 #A238D9
tetradic
#D9A238 #38D951 #386FD9 #D938BF
square
#D9A238 #38D951 #386FD9 #D938BF
split-complementary
#D9A238 #38BFD9 #5138D9
monochromatic
#7E5C18 #B28122 #D9A238 #E3BA6B #EDD29F

Accessibility & contrast

On white

2.29
#D9A238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#D9A238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9A238
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9A238#FFFFFF#000000##000000
##D9A2381.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A328
Deuteranopia (green-blind)
#C5B13C
Tritanopia (blue-blind)
#EC928D
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d9a238;
/* rgb */ color: rgb(217, 162, 56);
/* oklch */ color: oklch(74.6% 0.135 79.9);
Tailwind
colors: {
  custom: {
    50: '#eabd75',
    500: '#d9a238',
    950: '#000000',
  },
}
SCSS
$custom: #d9a238;
$custom-light: #eabd75;
$custom-dark: #000000;
JSON
{
  "hex": "#d9a238",
  "rgb": {
    "r": 217,
    "g": 162,
    "b": 56
  },
  "hsl": {
    "h": 39.503,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.74604,
    "c": 0.13456,
    "h": 79.9
  },
  "luminance": 0.40878
}

Semantic roles & 50–950 ramp

primary
#D9A238
secondary
#94ABD9
accent
#78EB3D
background
#FFFBF7
surface
#FEF6ED
border
#D6D0C8
text
#171209
muted
#85817B

Preview Lab

Preview with #D9A238

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#D9A238 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva