#D0C457#D0C457

#D0C457 is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.9% C 0.131 H 103.1°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#D0C457
RGBrgb(208, 196, 87)
HSLhsl(54, 56%, 58%)
HSVhsv(54, 58%, 82%)
CMYKcmyk(0%, 5.8%, 58.2%, 18.4%)
CIE-LABlab(78.22, -9.39, 55.05)
CIE-LCHlch(78.22, 55.85, 99.68°)
OKLaboklab(80.9% -0.0295 0.1272)
OKLCHoklch(80.9% 0.131 103.1)
XYZxyz(47.4743, 53.5796, 16.8561)
Luminance0.5358 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C457 #5763D0
analogous
#D08857 #D0C457 #9FD057
triadic
#D0C457 #57D0C4 #C457D0
tetradic
#D0C457 #57D088 #5763D0 #D0579F
square
#D0C457 #57D088 #5763D0 #D0579F
split-complementary
#D0C457 #579FD0 #8857D0
monochromatic
#877D26 #B7AA33 #D0C457 #DDD587 #EBE6B7

Accessibility & contrast

On white

1.79
#D0C457 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.72
#D0C457 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C457
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C457#FFFFFF#000000##000000
##D0C4571.001.7911.7211.72
#FFFFFF1.791.0021.0021.00
#00000011.7221.001.001.00
##00000011.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE4B
Deuteranopia (green-blind)
#D8C45D
Tritanopia (blue-blind)
#DEB8AC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d0c457;
/* rgb */ color: rgb(208, 196, 87);
/* oklch */ color: oklch(80.9% 0.131 103.1);
Tailwind
colors: {
  custom: {
    50: '#e1d58a',
    500: '#d0c457',
    950: '#000000',
  },
}
SCSS
$custom: #d0c457;
$custom-light: #e1d58a;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c457",
  "rgb": {
    "r": 208,
    "g": 196,
    "b": 87
  },
  "hsl": {
    "h": 54.05,
    "s": 56.279,
    "l": 57.843
  },
  "oklch": {
    "l": 0.80897,
    "c": 0.13058,
    "h": 103.1
  },
  "luminance": 0.53578
}

Semantic roles & 50–950 ramp

primary
#D0C457
secondary
#3E468E
accent
#57E048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D0C457

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

Preview Lab → · Contrast checker → · Palette generator →

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