#D0CB3F#D0CB3F

#D0CB3F is a very light, vivid yellow. Relative luminance 0.565; OKLCH L 82.2% C 0.155 H 107.3°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#D0CB3F
RGBrgb(208, 203, 63)
HSLhsl(58, 61%, 53%)
HSVhsv(58, 70%, 82%)
CMYKcmyk(0%, 2.4%, 69.7%, 18.4%)
CIE-LABlab(79.89, -14.40, 66.69)
CIE-LCHlch(79.89, 68.22, 102.18°)
OKLaboklab(82.17% -0.0463 0.1483)
OKLCHoklch(82.17% 0.155 107.3)
XYZxyz(48.2674, 56.4823, 13.0613)
Luminance0.5648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0CB3F #3F44D0
analogous
#D0823F #D0CB3F #8CD03F
triadic
#D0CB3F #3FD0CB #CB3FD0
tetradic
#D0CB3F #3FD082 #3F44D0 #D03F8C
square
#D0CB3F #3FD082 #3F44D0 #D03F8C
split-complementary
#D0CB3F #3F8CD0 #823FD0
monochromatic
#77741D #A9A429 #D0CB3F #DCD870 #E8E6A1

Accessibility & contrast

On white

1.71
#D0CB3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.30
#D0CB3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0CB3F
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0CB3F#FFFFFF#000000##000000
##D0CB3F1.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC328
Deuteranopia (green-blind)
#DFC849
Tritanopia (blue-blind)
#DFBEAF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d0cb3f;
/* rgb */ color: rgb(208, 203, 63);
/* oklch */ color: oklch(82.2% 0.155 107.3);
Tailwind
colors: {
  custom: {
    50: '#e2da7d',
    500: '#d0cb3f',
    950: '#000000',
  },
}
SCSS
$custom: #d0cb3f;
$custom-light: #e2da7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d0cb3f",
  "rgb": {
    "r": 208,
    "g": 203,
    "b": 63
  },
  "hsl": {
    "h": 57.931,
    "s": 60.669,
    "l": 53.137
  },
  "oklch": {
    "l": 0.82167,
    "c": 0.1553,
    "h": 107.3
  },
  "luminance": 0.56481
}

Semantic roles & 50–950 ramp

primary
#D0CB3F
secondary
#343680
accent
#4AE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D0CB3F

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

Preview Lab → · Contrast checker → · Palette generator →

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