#D0B642#D0B642

#D0B642 is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.8% C 0.135 H 96.4°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#D0B642
RGBrgb(208, 182, 66)
HSLhsl(49, 60%, 54%)
HSVhsv(49, 68%, 82%)
CMYKcmyk(0%, 12.5%, 68.3%, 18.4%)
CIE-LABlab(74.36, -3.48, 59.97)
CIE-LCHlch(74.36, 60.07, 93.32°)
OKLaboklab(77.78% -0.015 0.1346)
OKLCHoklch(77.78% 0.135 96.4)
XYZxyz(43.7258, 47.2614, 11.9724)
Luminance0.4726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0B642 #425CD0
analogous
#D06F42 #D0B642 #A3D042
triadic
#D0B642 #42D0B6 #B642D0
tetradic
#D0B642 #42D06F #425CD0 #D042A3
square
#D0B642 #42D06F #425CD0 #D042A3
split-complementary
#D0B642 #42A3D0 #6F42D0
monochromatic
#79691E #AA932A #D0B642 #DCC973 #E8DCA4

Accessibility & contrast

On white

2.01
#D0B642 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.45
#D0B642 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0B642
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0B642#FFFFFF#000000##000000
##D0B6421.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B232
Deuteranopia (green-blind)
#CFBA48
Tritanopia (blue-blind)
#E0A89E
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d0b642;
/* rgb */ color: rgb(208, 182, 66);
/* oklch */ color: oklch(77.8% 0.135 96.4);
Tailwind
colors: {
  custom: {
    50: '#e2cb7d',
    500: '#d0b642',
    950: '#000000',
  },
}
SCSS
$custom: #d0b642;
$custom-light: #e2cb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d0b642",
  "rgb": {
    "r": 208,
    "g": 182,
    "b": 66
  },
  "hsl": {
    "h": 49.014,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.77779,
    "c": 0.13542,
    "h": 96.4
  },
  "luminance": 0.47259
}

Semantic roles & 50–950 ramp

primary
#D0B642
secondary
#99A4D5
accent
#62E344
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D0B642

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

Preview Lab → · Contrast checker → · Palette generator →

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