#D0B752#D0B752

#D0B752 is a light, vivid yellow. Relative luminance 0.479; OKLCH L 78.1% C 0.124 H 95.5°. Best body text is #000000 at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#D0B752
RGBrgb(208, 183, 82)
HSLhsl(48, 57%, 57%)
HSVhsv(48, 61%, 82%)
CMYKcmyk(0%, 12%, 60.6%, 18.4%)
CIE-LABlab(74.75, -3.02, 53.45)
CIE-LCHlch(74.75, 53.54, 93.23°)
OKLaboklab(78.14% -0.0118 0.1232)
OKLCHoklch(78.14% 0.124 95.5)
XYZxyz(44.4708, 47.8882, 14.8819)
Luminance0.4789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0B752 #526BD0
analogous
#D07852 #D0B752 #AAD052
triadic
#D0B752 #52D0B7 #B752D0
tetradic
#D0B752 #52D078 #526BD0 #D052AA
square
#D0B752 #52D078 #526BD0 #D052AA
split-complementary
#D0B752 #52AAD0 #7852D0
monochromatic
#847124 #B49A31 #D0B752 #DDCB82 #EADFB2

Accessibility & contrast

On white

1.99
#D0B752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.58
#D0B752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0B752
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0B752#FFFFFF#000000##000000
##D0B7521.001.9910.5810.58
#FFFFFF1.991.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B347
Deuteranopia (green-blind)
#CEBB57
Tritanopia (blue-blind)
#DFAAA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d0b752;
/* rgb */ color: rgb(208, 183, 82);
/* oklch */ color: oklch(78.1% 0.124 95.5);
Tailwind
colors: {
  custom: {
    50: '#e1cc86',
    500: '#d0b752',
    950: '#000000',
  },
}
SCSS
$custom: #d0b752;
$custom-light: #e1cc86;
$custom-dark: #000000;
JSON
{
  "hex": "#d0b752",
  "rgb": {
    "r": 208,
    "g": 183,
    "b": 82
  },
  "hsl": {
    "h": 48.095,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.78138,
    "c": 0.12371,
    "h": 95.5
  },
  "luminance": 0.47886
}

Semantic roles & 50–950 ramp

primary
#D0B752
secondary
#A5AFD9
accent
#66E147
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #D0B752

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

Preview Lab → · Contrast checker → · Palette generator →

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