#D0B342#D0B342

#D0B342 is a light, vivid yellow. Relative luminance 0.460; OKLCH L 77.2% C 0.133 H 94.5°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#D0B342
RGBrgb(208, 179, 66)
HSLhsl(48, 60%, 54%)
HSVhsv(48, 68%, 82%)
CMYKcmyk(0%, 13.9%, 68.3%, 18.4%)
CIE-LABlab(73.58, -1.91, 59.17)
CIE-LCHlch(73.58, 59.20, 91.85°)
OKLaboklab(77.16% -0.0105 0.1329)
OKLCHoklch(77.16% 0.133 94.5)
XYZxyz(43.1180, 46.0458, 11.7698)
Luminance0.4604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0B342 #425FD0
analogous
#D06C42 #D0B342 #A6D042
triadic
#D0B342 #42D0B3 #B342D0
tetradic
#D0B342 #42D06C #425FD0 #D042A6
square
#D0B342 #42D06C #425FD0 #D042A6
split-complementary
#D0B342 #42A6D0 #6C42D0
monochromatic
#79671E #AA902A #D0B342 #DCC773 #E8DAA4

Accessibility & contrast

On white

2.06
#D0B342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.21
#D0B342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0B342
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0B342#FFFFFF#000000##000000
##D0B3421.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B033
Deuteranopia (green-blind)
#CDB948
Tritanopia (blue-blind)
#E0A59C
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d0b342;
/* rgb */ color: rgb(208, 179, 66);
/* oklch */ color: oklch(77.2% 0.133 94.5);
Tailwind
colors: {
  custom: {
    50: '#e2c97c',
    500: '#d0b342',
    950: '#000000',
  },
}
SCSS
$custom: #d0b342;
$custom-light: #e2c97c;
$custom-dark: #000000;
JSON
{
  "hex": "#d0b342",
  "rgb": {
    "r": 208,
    "g": 179,
    "b": 66
  },
  "hsl": {
    "h": 47.746,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.77161,
    "c": 0.1333,
    "h": 94.5
  },
  "luminance": 0.46043
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D0B342

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

Preview Lab → · Contrast checker → · Palette generator →

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