#D0C057#D0C057

#D0C057 is a light, vivid yellow. Relative luminance 0.518; OKLCH L 80.1% C 0.127 H 100.7°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#D0C057
RGBrgb(208, 192, 87)
HSLhsl(52, 56%, 58%)
HSVhsv(52, 58%, 82%)
CMYKcmyk(0%, 7.7%, 58.2%, 18.4%)
CIE-LABlab(77.16, -7.34, 53.87)
CIE-LCHlch(77.16, 54.36, 97.76°)
OKLaboklab(80.06% -0.0236 0.1247)
OKLCHoklch(80.06% 0.127 100.7)
XYZxyz(46.5841, 51.7991, 16.5594)
Luminance0.5180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C057 #5767D0
analogous
#D08357 #D0C057 #A3D057
triadic
#D0C057 #57D0C0 #C057D0
tetradic
#D0C057 #57D083 #5767D0 #D057A3
square
#D0C057 #57D083 #5767D0 #D057A3
split-complementary
#D0C057 #57A3D0 #8357D0
monochromatic
#877A26 #B7A533 #D0C057 #DDD287 #EBE4B7

Accessibility & contrast

On white

1.85
#D0C057 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.36
#D0C057 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C057
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C057#FFFFFF#000000##000000
##D0C0571.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BB4C
Deuteranopia (green-blind)
#D5C15C
Tritanopia (blue-blind)
#DFB4A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d0c057;
/* rgb */ color: rgb(208, 192, 87);
/* oklch */ color: oklch(80.1% 0.127 100.7);
Tailwind
colors: {
  custom: {
    50: '#e1d28a',
    500: '#d0c057',
    950: '#000000',
  },
}
SCSS
$custom: #d0c057;
$custom-light: #e1d28a;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c057",
  "rgb": {
    "r": 208,
    "g": 192,
    "b": 87
  },
  "hsl": {
    "h": 52.066,
    "s": 56.279,
    "l": 57.843
  },
  "oklch": {
    "l": 0.8006,
    "c": 0.12689,
    "h": 100.7
  },
  "luminance": 0.51797
}

Semantic roles & 50–950 ramp

primary
#D0C057
secondary
#3E488E
accent
#5CE048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D0C057

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

Preview Lab → · Contrast checker → · Palette generator →

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