#D0C652#D0C652

#D0C652 is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.3% C 0.137 H 104.4°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#D0C652
RGBrgb(208, 198, 82)
HSLhsl(55, 57%, 57%)
HSVhsv(55, 61%, 82%)
CMYKcmyk(0%, 4.8%, 60.6%, 18.4%)
CIE-LABlab(78.70, -10.76, 57.80)
CIE-LCHlch(78.70, 58.80, 100.54°)
OKLaboklab(81.27% -0.034 0.1324)
OKLCHoklch(81.27% 0.137 104.4)
XYZxyz(47.7312, 54.4089, 15.9687)
Luminance0.5441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C652 #525CD0
analogous
#D08752 #D0C652 #9BD052
triadic
#D0C652 #52D0C6 #C652D0
tetradic
#D0C652 #52D087 #525CD0 #D0529B
square
#D0C652 #52D087 #525CD0 #D0529B
split-complementary
#D0C652 #529BD0 #8752D0
monochromatic
#847C24 #B4AA31 #D0C652 #DDD682 #EAE6B2

Accessibility & contrast

On white

1.77
#D0C652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.88
#D0C652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C652
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C652#FFFFFF#000000##000000
##D0C6521.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C045
Deuteranopia (green-blind)
#DAC558
Tritanopia (blue-blind)
#DEBAAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d0c652;
/* rgb */ color: rgb(208, 198, 82);
/* oklch */ color: oklch(81.3% 0.137 104.4);
Tailwind
colors: {
  custom: {
    50: '#e1d787',
    500: '#d0c652',
    950: '#000000',
  },
}
SCSS
$custom: #d0c652;
$custom-light: #e1d787;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c652",
  "rgb": {
    "r": 208,
    "g": 198,
    "b": 82
  },
  "hsl": {
    "h": 55.238,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81267,
    "c": 0.13671,
    "h": 104.4
  },
  "luminance": 0.54407
}

Semantic roles & 50–950 ramp

primary
#D0C652
secondary
#3B428B
accent
#53E147
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #D0C652

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

Preview Lab → · Contrast checker → · Palette generator →

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