#D0CA52#D0CA52

#D0CA52 is a very light, vivid yellow. Relative luminance 0.563; OKLCH L 82.1% C 0.141 H 106.4°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#D0CA52
RGBrgb(208, 202, 82)
HSLhsl(57, 57%, 57%)
HSVhsv(57, 61%, 82%)
CMYKcmyk(0%, 2.9%, 60.6%, 18.4%)
CIE-LABlab(79.76, -12.79, 58.96)
CIE-LCHlch(79.76, 60.33, 102.24°)
OKLaboklab(82.11% -0.0397 0.1349)
OKLCHoklch(82.11% 0.141 106.4)
XYZxyz(48.6576, 56.2617, 16.2775)
Luminance0.5626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0CA52 #5258D0
analogous
#D08B52 #D0CA52 #97D052
triadic
#D0CA52 #52D0CA #CA52D0
tetradic
#D0CA52 #52D08B #5258D0 #D05297
square
#D0CA52 #52D08B #5258D0 #D05297
split-complementary
#D0CA52 #5297D0 #8B52D0
monochromatic
#847F24 #B4AE31 #D0CA52 #DDD982 #EAE7B2

Accessibility & contrast

On white

1.71
#D0CA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.25
#D0CA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0CA52
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0CA52#FFFFFF#000000##000000
##D0CA521.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC344
Deuteranopia (green-blind)
#DDC859
Tritanopia (blue-blind)
#DEBEB1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d0ca52;
/* rgb */ color: rgb(208, 202, 82);
/* oklch */ color: oklch(82.1% 0.141 106.4);
Tailwind
colors: {
  custom: {
    50: '#e1d987',
    500: '#d0ca52',
    950: '#000000',
  },
}
SCSS
$custom: #d0ca52;
$custom-light: #e1d987;
$custom-dark: #000000;
JSON
{
  "hex": "#d0ca52",
  "rgb": {
    "r": 208,
    "g": 202,
    "b": 82
  },
  "hsl": {
    "h": 57.143,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.82113,
    "c": 0.14061,
    "h": 106.4
  },
  "luminance": 0.5626
}

Semantic roles & 50–950 ramp

primary
#D0CA52
secondary
#3B3F8B
accent
#4FE147
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D0CA52

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

Preview Lab → · Contrast checker → · Palette generator →

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