#D0C757#D0C757

#D0C757 is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.5% C 0.133 H 104.7°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#D0C757
RGBrgb(208, 199, 87)
HSLhsl(56, 56%, 58%)
HSVhsv(56, 58%, 82%)
CMYKcmyk(0%, 4.3%, 58.2%, 18.4%)
CIE-LABlab(79.01, -10.92, 55.94)
CIE-LCHlch(79.01, 57.00, 101.05°)
OKLaboklab(81.53% -0.0339 0.1291)
OKLCHoklch(81.53% 0.133 104.7)
XYZxyz(48.1577, 54.9465, 17.0840)
Luminance0.5494 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C757 #5760D0
analogous
#D08A57 #D0C757 #9DD057
triadic
#D0C757 #57D0C7 #C757D0
tetradic
#D0C757 #57D08A #5760D0 #D0579D
square
#D0C757 #57D08A #5760D0 #D0579D
split-complementary
#D0C757 #579DD0 #8A57D0
monochromatic
#878026 #B7AD33 #D0C757 #DDD787 #EBE7B7

Accessibility & contrast

On white

1.75
#D0C757 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.99
#D0C757 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C757
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C757#FFFFFF#000000##000000
##D0C7571.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C14B
Deuteranopia (green-blind)
#DAC65D
Tritanopia (blue-blind)
#DEBBAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d0c757;
/* rgb */ color: rgb(208, 199, 87);
/* oklch */ color: oklch(81.5% 0.133 104.7);
Tailwind
colors: {
  custom: {
    50: '#e1d78a',
    500: '#d0c757',
    950: '#000000',
  },
}
SCSS
$custom: #d0c757;
$custom-light: #e1d78a;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c757",
  "rgb": {
    "r": 208,
    "g": 199,
    "b": 87
  },
  "hsl": {
    "h": 55.537,
    "s": 56.279,
    "l": 57.843
  },
  "oklch": {
    "l": 0.81529,
    "c": 0.13347,
    "h": 104.7
  },
  "luminance": 0.54945
}

Semantic roles & 50–950 ramp

primary
#D0C757
secondary
#3E448E
accent
#53E048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D0C757

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

Preview Lab → · Contrast checker → · Palette generator →

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