#D0C640#D0C640

#D0C640 is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.1% C 0.150 H 105.0°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#D0C640
RGBrgb(208, 198, 64)
HSLhsl(56, 61%, 53%)
HSVhsv(56, 69%, 82%)
CMYKcmyk(0%, 4.8%, 69.2%, 18.4%)
CIE-LABlab(78.56, -11.83, 65.00)
CIE-LCHlch(78.56, 66.07, 100.31°)
OKLaboklab(81.11% -0.0389 0.1449)
OKLCHoklch(81.11% 0.15 105)
XYZxyz(47.1338, 54.1700, 12.8226)
Luminance0.5417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C640 #404AD0
analogous
#D07E40 #D0C640 #92D040
triadic
#D0C640 #40D0C6 #C640D0
tetradic
#D0C640 #40D07E #404AD0 #D04092
square
#D0C640 #40D07E #404AD0 #D04092
split-complementary
#D0C640 #4092D0 #7E40D0
monochromatic
#78721E #A9A02A #D0C640 #DCD571 #E8E3A2

Accessibility & contrast

On white

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

On black

11.83
#D0C640 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C640
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C640#FFFFFF#000000##000000
##D0C6401.001.7711.8311.83
#FFFFFF1.771.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF2B
Deuteranopia (green-blind)
#DBC549
Tritanopia (blue-blind)
#DFB9AB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d0c640;
/* rgb */ color: rgb(208, 198, 64);
/* oklch */ color: oklch(81.1% 0.150 105.0);
Tailwind
colors: {
  custom: {
    50: '#e2d77d',
    500: '#d0c640',
    950: '#000000',
  },
}
SCSS
$custom: #d0c640;
$custom-light: #e2d77d;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c640",
  "rgb": {
    "r": 208,
    "g": 198,
    "b": 64
  },
  "hsl": {
    "h": 55.833,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.81112,
    "c": 0.15001,
    "h": 105
  },
  "luminance": 0.54168
}

Semantic roles & 50–950 ramp

primary
#D0C640
secondary
#343980
accent
#4FE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D0C640

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

Preview Lab → · Contrast checker → · Palette generator →

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