#D0B142#D0B142

#D0B142 is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.8% C 0.132 H 93.3°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#D0B142
RGBrgb(208, 177, 66)
HSLhsl(47, 60%, 54%)
HSVhsv(47, 68%, 82%)
CMYKcmyk(0%, 14.9%, 68.3%, 18.4%)
CIE-LABlab(73.06, -0.86, 58.63)
CIE-LCHlch(73.06, 58.64, 90.84°)
OKLaboklab(76.75% -0.0075 0.1318)
OKLCHoklch(76.75% 0.132 93.3)
XYZxyz(42.7201, 45.2499, 11.6371)
Luminance0.4525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0B142 #4261D0
analogous
#D06A42 #D0B142 #A8D042
triadic
#D0B142 #42D0B1 #B142D0
tetradic
#D0B142 #42D06A #4261D0 #D042A8
square
#D0B142 #42D06A #4261D0 #D042A8
split-complementary
#D0B142 #42A8D0 #6A42D0
monochromatic
#79651E #AA8E2A #D0B142 #DCC573 #E8D9A4

Accessibility & contrast

On white

2.09
#D0B142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.05
#D0B142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0B142
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0B142#FFFFFF#000000##000000
##D0B1421.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE33
Deuteranopia (green-blind)
#CBB748
Tritanopia (blue-blind)
#E0A39A
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d0b142;
/* rgb */ color: rgb(208, 177, 66);
/* oklch */ color: oklch(76.8% 0.132 93.3);
Tailwind
colors: {
  custom: {
    50: '#e2c87c',
    500: '#d0b142',
    950: '#000000',
  },
}
SCSS
$custom: #d0b142;
$custom-light: #e2c87c;
$custom-dark: #000000;
JSON
{
  "hex": "#d0b142",
  "rgb": {
    "r": 208,
    "g": 177,
    "b": 66
  },
  "hsl": {
    "h": 46.901,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.76751,
    "c": 0.13196,
    "h": 93.3
  },
  "luminance": 0.45248
}

Semantic roles & 50–950 ramp

primary
#D0B142
secondary
#99A6D5
accent
#67E344
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D0B142

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

Preview Lab → · Contrast checker → · Palette generator →

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