#D9B342#D9B342

#D9B342 is a light, vivid orange. Relative luminance 0.474; OKLCH L 78.0% C 0.135 H 90.0°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#D9B342
RGBrgb(217, 179, 66)
HSLhsl(45, 67%, 55%)
HSVhsv(45, 70%, 85%)
CMYKcmyk(0%, 17.5%, 69.6%, 14.9%)
CIE-LABlab(74.44, 1.95, 60.33)
CIE-LCHlch(74.44, 60.36, 88.15°)
OKLaboklab(78.04% 0 0.135)
OKLCHoklch(78.04% 0.135 90)
XYZxyz(45.7212, 47.3880, 11.8918)
Luminance0.4738 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B342 #4268D9
analogous
#D96842 #D9B342 #B3D942
triadic
#D9B342 #42D9B3 #B342D9
tetradic
#D9B342 #42D968 #4268D9 #D942B3
square
#D9B342 #42D968 #4268D9 #D942B3
split-complementary
#D9B342 #42B3D9 #6842D9
monochromatic
#866B1B #B99425 #D9B342 #E3C775 #EDDCA8

Accessibility & contrast

On white

2.00
#D9B342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.48
#D9B342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9B342
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9B342#FFFFFF#000000##000000
##D9B3421.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B133
Deuteranopia (green-blind)
#D0BC48
Tritanopia (blue-blind)
#EBA49C
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d9b342;
/* rgb */ color: rgb(217, 179, 66);
/* oklch */ color: oklch(78.0% 0.135 90.0);
Tailwind
colors: {
  custom: {
    50: '#e9c97c',
    500: '#d9b342',
    950: '#000000',
  },
}
SCSS
$custom: #d9b342;
$custom-light: #e9c97c;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b342",
  "rgb": {
    "r": 217,
    "g": 179,
    "b": 66
  },
  "hsl": {
    "h": 44.901,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.78042,
    "c": 0.13502,
    "h": 90
  },
  "luminance": 0.47385
}

Semantic roles & 50–950 ramp

primary
#D9B342
secondary
#9CACDB
accent
#69E93E
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D9B342

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

Preview Lab → · Contrast checker → · Palette generator →

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