#D0CA57#D0CA57

#D0CA57 is a very light, vivid yellow. Relative luminance 0.563; OKLCH L 82.2% C 0.136 H 106.3°. Best body text is #000000 at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#D0CA57
RGBrgb(208, 202, 87)
HSLhsl(57, 56%, 58%)
HSVhsv(57, 58%, 82%)
CMYKcmyk(0%, 2.9%, 58.2%, 18.4%)
CIE-LABlab(79.81, -12.44, 56.83)
CIE-LCHlch(79.81, 58.17, 102.35°)
OKLaboklab(82.16% -0.0382 0.131)
OKLCHoklch(82.16% 0.136 106.3)
XYZxyz(48.8548, 56.3406, 17.3163)
Luminance0.5634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0CA57 #575DD0
analogous
#D08E57 #D0CA57 #99D057
triadic
#D0CA57 #57D0CA #CA57D0
tetradic
#D0CA57 #57D08E #575DD0 #D05799
square
#D0CA57 #57D08E #575DD0 #D05799
split-complementary
#D0CA57 #5799D0 #8E57D0
monochromatic
#878226 #B7B033 #D0CA57 #DDD987 #EBE8B7

Accessibility & contrast

On white

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

On black

12.27
#D0CA57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0CA57
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0CA57#FFFFFF#000000##000000
##D0CA571.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d0ca57;
/* rgb */ color: rgb(208, 202, 87);
/* oklch */ color: oklch(82.2% 0.136 106.3);
Tailwind
colors: {
  custom: {
    50: '#e1d98b',
    500: '#d0ca57',
    950: '#000000',
  },
}
SCSS
$custom: #d0ca57;
$custom-light: #e1d98b;
$custom-dark: #000000;
JSON
{
  "hex": "#d0ca57",
  "rgb": {
    "r": 208,
    "g": 202,
    "b": 87
  },
  "hsl": {
    "h": 57.025,
    "s": 56.279,
    "l": 57.843
  },
  "oklch": {
    "l": 0.82163,
    "c": 0.13645,
    "h": 106.3
  },
  "luminance": 0.56339
}

Semantic roles & 50–950 ramp

primary
#D0CA57
secondary
#3E428E
accent
#50E048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D0CA57

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

Preview Lab → · Contrast checker → · Palette generator →

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