#D0B242#D0B242

#D0B242 is a light, vivid yellow. Relative luminance 0.456; OKLCH L 77.0% C 0.133 H 93.9°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#D0B242
RGBrgb(208, 178, 66)
HSLhsl(47, 60%, 54%)
HSVhsv(47, 68%, 82%)
CMYKcmyk(0%, 14.4%, 68.3%, 18.4%)
CIE-LABlab(73.32, -1.39, 58.90)
CIE-LCHlch(73.32, 58.92, 91.35°)
OKLaboklab(76.96% -0.009 0.1323)
OKLCHoklch(76.96% 0.133 93.9)
XYZxyz(42.9183, 45.6464, 11.7032)
Luminance0.4564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0B242 #4260D0
analogous
#D06B42 #D0B242 #A7D042
triadic
#D0B242 #42D0B2 #B242D0
tetradic
#D0B242 #42D06B #4260D0 #D042A7
square
#D0B242 #42D06B #4260D0 #D042A7
split-complementary
#D0B242 #42A7D0 #6B42D0
monochromatic
#79661E #AA8F2A #D0B242 #DCC673 #E8DAA4

Accessibility & contrast

On white

2.07
#D0B242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.13
#D0B242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0B242
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0B242#FFFFFF#000000##000000
##D0B2421.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF33
Deuteranopia (green-blind)
#CCB848
Tritanopia (blue-blind)
#E0A49B
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d0b242;
/* rgb */ color: rgb(208, 178, 66);
/* oklch */ color: oklch(77.0% 0.133 93.9);
Tailwind
colors: {
  custom: {
    50: '#e2c87c',
    500: '#d0b242',
    950: '#000000',
  },
}
SCSS
$custom: #d0b242;
$custom-light: #e2c87c;
$custom-dark: #000000;
JSON
{
  "hex": "#d0b242",
  "rgb": {
    "r": 208,
    "g": 178,
    "b": 66
  },
  "hsl": {
    "h": 47.324,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.76956,
    "c": 0.13263,
    "h": 93.9
  },
  "luminance": 0.45644
}

Semantic roles & 50–950 ramp

primary
#D0B242
secondary
#99A5D5
accent
#66E344
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D0B242

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

Preview Lab → · Contrast checker → · Palette generator →

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