#D9B242#D9B242

#D9B242 is a light, vivid orange. Relative luminance 0.470; OKLCH L 77.8% C 0.134 H 89.3°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#D9B242
RGBrgb(217, 178, 66)
HSLhsl(45, 67%, 55%)
HSVhsv(45, 70%, 85%)
CMYKcmyk(0%, 18%, 69.6%, 14.9%)
CIE-LABlab(74.18, 2.48, 60.07)
CIE-LCHlch(74.18, 60.12, 87.64°)
OKLaboklab(77.84% 0.0016 0.1345)
OKLCHoklch(77.84% 0.134 89.3)
XYZxyz(45.5215, 46.9886, 11.8252)
Luminance0.4699 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B242 #4269D9
analogous
#D96642 #D9B242 #B5D942
triadic
#D9B242 #42D9B2 #B242D9
tetradic
#D9B242 #42D966 #4269D9 #D942B5
square
#D9B242 #42D966 #4269D9 #D942B5
split-complementary
#D9B242 #42B5D9 #6642D9
monochromatic
#866A1B #B99325 #D9B242 #E3C775 #EDDCA8

Accessibility & contrast

On white

2.02
#D9B242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.40
#D9B242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9B242
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9B242#FFFFFF#000000##000000
##D9B2421.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B033
Deuteranopia (green-blind)
#CFBB47
Tritanopia (blue-blind)
#EBA39B
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d9b242;
/* rgb */ color: rgb(217, 178, 66);
/* oklch */ color: oklch(77.8% 0.134 89.3);
Tailwind
colors: {
  custom: {
    50: '#e9c87c',
    500: '#d9b242',
    950: '#000000',
  },
}
SCSS
$custom: #d9b242;
$custom-light: #e9c87c;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b242",
  "rgb": {
    "r": 217,
    "g": 178,
    "b": 66
  },
  "hsl": {
    "h": 44.503,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.77841,
    "c": 0.13448,
    "h": 89.3
  },
  "luminance": 0.46986
}

Semantic roles & 50–950 ramp

primary
#D9B242
secondary
#9CACDB
accent
#6BE93E
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D9B242

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

Preview Lab → · Contrast checker → · Palette generator →

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