#D0CC3F#D0CC3F

#D0CC3F is a very light, vivid yellow. Relative luminance 0.570; OKLCH L 82.4% C 0.156 H 107.8°. Best body text is #000000 at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#D0CC3F
RGBrgb(208, 204, 63)
HSLhsl(58, 61%, 53%)
HSVhsv(58, 70%, 82%)
CMYKcmyk(0%, 1.9%, 69.7%, 18.4%)
CIE-LABlab(80.15, -14.90, 66.95)
CIE-LCHlch(80.15, 68.59, 102.55°)
OKLaboklab(82.38% -0.0477 0.1488)
OKLCHoklch(82.38% 0.156 107.8)
XYZxyz(48.5043, 56.9561, 13.1403)
Luminance0.5696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0CC3F #3F43D0
analogous
#D0833F #D0CC3F #8BD03F
triadic
#D0CC3F #3FD0CC #CC3FD0
tetradic
#D0CC3F #3FD083 #3F43D0 #D03F8B
square
#D0CC3F #3FD083 #3F43D0 #D03F8B
split-complementary
#D0CC3F #3F8BD0 #833FD0
monochromatic
#77751D #A9A529 #D0CC3F #DCD970 #E8E6A1

Accessibility & contrast

On white

1.69
#D0CC3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.39
#D0CC3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0CC3F
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0CC3F#FFFFFF#000000##000000
##D0CC3F1.001.6912.3912.39
#FFFFFF1.691.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC428
Deuteranopia (green-blind)
#DFC949
Tritanopia (blue-blind)
#DFBFB0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d0cc3f;
/* rgb */ color: rgb(208, 204, 63);
/* oklch */ color: oklch(82.4% 0.156 107.8);
Tailwind
colors: {
  custom: {
    50: '#e2db7d',
    500: '#d0cc3f',
    950: '#000000',
  },
}
SCSS
$custom: #d0cc3f;
$custom-light: #e2db7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d0cc3f",
  "rgb": {
    "r": 208,
    "g": 204,
    "b": 63
  },
  "hsl": {
    "h": 58.345,
    "s": 60.669,
    "l": 53.137
  },
  "oklch": {
    "l": 0.8238,
    "c": 0.15626,
    "h": 107.8
  },
  "luminance": 0.56955
}

Semantic roles & 50–950 ramp

primary
#D0CC3F
secondary
#343680
accent
#48E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D0CC3F

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

Preview Lab → · Contrast checker → · Palette generator →

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