#D0C657#D0C657

#D0C657 is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.3% C 0.133 H 104.2°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#D0C657
RGBrgb(208, 198, 87)
HSLhsl(55, 56%, 58%)
HSVhsv(55, 58%, 82%)
CMYKcmyk(0%, 4.8%, 58.2%, 18.4%)
CIE-LABlab(78.75, -10.41, 55.64)
CIE-LCHlch(78.75, 56.61, 100.60°)
OKLaboklab(81.32% -0.0324 0.1285)
OKLCHoklch(81.32% 0.133 104.2)
XYZxyz(47.9284, 54.4878, 17.0075)
Luminance0.5449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C657 #5761D0
analogous
#D08957 #D0C657 #9ED057
triadic
#D0C657 #57D0C6 #C657D0
tetradic
#D0C657 #57D089 #5761D0 #D0579E
square
#D0C657 #57D089 #5761D0 #D0579E
split-complementary
#D0C657 #579ED0 #8957D0
monochromatic
#877F26 #B7AC33 #D0C657 #DDD687 #EBE6B7

Accessibility & contrast

On white

1.77
#D0C657 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.90
#D0C657 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C657
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C657#FFFFFF#000000##000000
##D0C6571.001.7711.9011.90
#FFFFFF1.771.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C04B
Deuteranopia (green-blind)
#D9C55D
Tritanopia (blue-blind)
#DEBAAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d0c657;
/* rgb */ color: rgb(208, 198, 87);
/* oklch */ color: oklch(81.3% 0.133 104.2);
Tailwind
colors: {
  custom: {
    50: '#e1d78a',
    500: '#d0c657',
    950: '#000000',
  },
}
SCSS
$custom: #d0c657;
$custom-light: #e1d78a;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c657",
  "rgb": {
    "r": 208,
    "g": 198,
    "b": 87
  },
  "hsl": {
    "h": 55.041,
    "s": 56.279,
    "l": 57.843
  },
  "oklch": {
    "l": 0.81318,
    "c": 0.1325,
    "h": 104.2
  },
  "luminance": 0.54486
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D0C657

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

Preview Lab → · Contrast checker → · Palette generator →

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