#D0B252#D0B252

#D0B252 is a light, vivid yellow. Relative luminance 0.459; OKLCH L 77.1% C 0.120 H 92.0°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#D0B252
RGBrgb(208, 178, 82)
HSLhsl(46, 57%, 57%)
HSVhsv(46, 61%, 82%)
CMYKcmyk(0%, 14.4%, 60.6%, 18.4%)
CIE-LABlab(73.46, -0.39, 52.00)
CIE-LCHlch(73.46, 52.00, 90.43°)
OKLaboklab(77.11% -0.0042 0.12)
OKLCHoklch(77.11% 0.12 92)
XYZxyz(43.4578, 45.8621, 14.5442)
Luminance0.4586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0B252 #5270D0
analogous
#D07352 #D0B252 #AFD052
triadic
#D0B252 #52D0B2 #B252D0
tetradic
#D0B252 #52D073 #5270D0 #D052AF
square
#D0B252 #52D073 #5270D0 #D052AF
split-complementary
#D0B252 #52AFD0 #7352D0
monochromatic
#846D24 #B49531 #D0B252 #DDC782 #EADDB2

Accessibility & contrast

On white

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

On black

10.17
#D0B252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0B252
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0B252#FFFFFF#000000##000000
##D0B2521.002.0610.1710.17
#FFFFFF2.061.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF48
Deuteranopia (green-blind)
#CBB856
Tritanopia (blue-blind)
#E0A59D
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d0b252;
/* rgb */ color: rgb(208, 178, 82);
/* oklch */ color: oklch(77.1% 0.120 92.0);
Tailwind
colors: {
  custom: {
    50: '#e1c886',
    500: '#d0b252',
    950: '#000000',
  },
}
SCSS
$custom: #d0b252;
$custom-light: #e1c886;
$custom-dark: #000000;
JSON
{
  "hex": "#d0b252",
  "rgb": {
    "r": 208,
    "g": 178,
    "b": 82
  },
  "hsl": {
    "h": 45.714,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.77112,
    "c": 0.12011,
    "h": 92
  },
  "luminance": 0.4586
}

Semantic roles & 50–950 ramp

primary
#D0B252
secondary
#A5B1D9
accent
#6CE147
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #D0B252

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

Preview Lab → · Contrast checker → · Palette generator →

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