#D0C64F#D0C64F

#D0C64F is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.2% C 0.139 H 104.5°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#D0C64F
RGBrgb(208, 198, 79)
HSLhsl(55, 58%, 56%)
HSVhsv(55, 62%, 82%)
CMYKcmyk(0%, 4.8%, 62%, 18.4%)
CIE-LABlab(78.67, -10.96, 59.07)
CIE-LCHlch(78.67, 60.08, 100.51°)
OKLaboklab(81.24% -0.0349 0.1347)
OKLCHoklch(81.24% 0.139 104.5)
XYZxyz(47.6195, 54.3643, 15.3806)
Luminance0.5436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C64F #4F59D0
analogous
#D0864F #D0C64F #9AD04F
triadic
#D0C64F #4FD0C6 #C64FD0
tetradic
#D0C64F #4FD086 #4F59D0 #D04F9A
square
#D0C64F #4FD086 #4F59D0 #D04F9A
split-complementary
#D0C64F #4F9AD0 #864FD0
monochromatic
#827B23 #B2A830 #D0C64F #DDD67F #EAE5B0

Accessibility & contrast

On white

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

On black

11.87
#D0C64F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C64F
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C64F#FFFFFF#000000##000000
##D0C64F1.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF41
Deuteranopia (green-blind)
#DAC556
Tritanopia (blue-blind)
#DFB9AD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d0c64f;
/* rgb */ color: rgb(208, 198, 79);
/* oklch */ color: oklch(81.2% 0.139 104.5);
Tailwind
colors: {
  custom: {
    50: '#e1d785',
    500: '#d0c64f',
    950: '#000000',
  },
}
SCSS
$custom: #d0c64f;
$custom-light: #e1d785;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c64f",
  "rgb": {
    "r": 208,
    "g": 198,
    "b": 79
  },
  "hsl": {
    "h": 55.349,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81238,
    "c": 0.13914,
    "h": 104.5
  },
  "luminance": 0.54363
}

Semantic roles & 50–950 ramp

primary
#D0C64F
secondary
#3A4089
accent
#53E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D0C64F

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

Preview Lab → · Contrast checker → · Palette generator →

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