#D0CA4F#D0CA4F

#D0CA4F is a very light, vivid yellow. Relative luminance 0.562; OKLCH L 82.1% C 0.143 H 106.5°. Best body text is #000000 at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#D0CA4F
RGBrgb(208, 202, 79)
HSLhsl(57, 58%, 56%)
HSVhsv(57, 62%, 82%)
CMYKcmyk(0%, 2.9%, 62%, 18.4%)
CIE-LABlab(79.74, -12.98, 60.21)
CIE-LCHlch(79.74, 61.60, 102.17°)
OKLaboklab(82.08% -0.0406 0.1371)
OKLCHoklch(82.08% 0.143 106.5)
XYZxyz(48.5459, 56.2170, 15.6894)
Luminance0.5622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0CA4F #4F55D0
analogous
#D08A4F #D0CA4F #96D04F
triadic
#D0CA4F #4FD0CA #CA4FD0
tetradic
#D0CA4F #4FD08A #4F55D0 #D04F96
square
#D0CA4F #4FD08A #4F55D0 #D04F96
split-complementary
#D0CA4F #4F96D0 #8A4FD0
monochromatic
#827D23 #B2AC30 #D0CA4F #DDD97F #EAE7B0

Accessibility & contrast

On white

1.72
#D0CA4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.24
#D0CA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0CA4F
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0CA4F#FFFFFF#000000##000000
##D0CA4F1.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC340
Deuteranopia (green-blind)
#DDC856
Tritanopia (blue-blind)
#DEBDB0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d0ca4f;
/* rgb */ color: rgb(208, 202, 79);
/* oklch */ color: oklch(82.1% 0.143 106.5);
Tailwind
colors: {
  custom: {
    50: '#e1d986',
    500: '#d0ca4f',
    950: '#000000',
  },
}
SCSS
$custom: #d0ca4f;
$custom-light: #e1d986;
$custom-dark: #000000;
JSON
{
  "hex": "#d0ca4f",
  "rgb": {
    "r": 208,
    "g": 202,
    "b": 79
  },
  "hsl": {
    "h": 57.209,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.82084,
    "c": 0.143,
    "h": 106.5
  },
  "luminance": 0.56215
}

Semantic roles & 50–950 ramp

primary
#D0CA4F
secondary
#3A3E89
accent
#4EE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D0CA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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