#D0C252#D0C252

#D0C252 is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.4% C 0.133 H 102.2°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#D0C252
RGBrgb(208, 194, 82)
HSLhsl(53, 57%, 57%)
HSVhsv(53, 61%, 82%)
CMYKcmyk(0%, 6.7%, 60.6%, 18.4%)
CIE-LABlab(77.64, -8.72, 56.65)
CIE-LCHlch(77.64, 57.31, 98.75°)
OKLaboklab(80.43% -0.0281 0.13)
OKLCHoklch(80.43% 0.133 102.2)
XYZxyz(46.8289, 52.6045, 15.6680)
Luminance0.5260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C252 #5260D0
analogous
#D08352 #D0C252 #9FD052
triadic
#D0C252 #52D0C2 #C252D0
tetradic
#D0C252 #52D083 #5260D0 #D0529F
square
#D0C252 #52D083 #5260D0 #D0529F
split-complementary
#D0C252 #529FD0 #8352D0
monochromatic
#847924 #B4A531 #D0C252 #DDD382 #EAE4B2

Accessibility & contrast

On white

1.82
#D0C252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.52
#D0C252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C252
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C252#FFFFFF#000000##000000
##D0C2521.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC45
Deuteranopia (green-blind)
#D7C358
Tritanopia (blue-blind)
#DFB6AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d0c252;
/* rgb */ color: rgb(208, 194, 82);
/* oklch */ color: oklch(80.4% 0.133 102.2);
Tailwind
colors: {
  custom: {
    50: '#e1d487',
    500: '#d0c252',
    950: '#000000',
  },
}
SCSS
$custom: #d0c252;
$custom-light: #e1d487;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c252",
  "rgb": {
    "r": 208,
    "g": 194,
    "b": 82
  },
  "hsl": {
    "h": 53.333,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.80426,
    "c": 0.13297,
    "h": 102.2
  },
  "luminance": 0.52603
}

Semantic roles & 50–950 ramp

primary
#D0C252
secondary
#3B448B
accent
#58E147
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #D0C252

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

Preview Lab → · Contrast checker → · Palette generator →

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