#D0CC4B#D0CC4B

#D0CC4B is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.5% C 0.148 H 107.5°. Best body text is #000000 at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#D0CC4B
RGBrgb(208, 204, 75)
HSLhsl(58, 59%, 55%)
HSVhsv(58, 64%, 82%)
CMYKcmyk(0%, 1.9%, 63.9%, 18.4%)
CIE-LABlab(80.24, -14.24, 62.40)
CIE-LCHlch(80.24, 64.00, 102.85°)
OKLaboklab(82.47% -0.0446 0.1412)
OKLCHoklch(82.47% 0.148 107.5)
XYZxyz(48.8770, 57.1052, 15.1030)
Luminance0.5710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0CC4B #4B4FD0
analogous
#D0894B #D0CC4B #92D04B
triadic
#D0CC4B #4BD0CC #CC4BD0
tetradic
#D0CC4B #4BD089 #4B4FD0 #D04B92
square
#D0CC4B #4BD089 #4B4FD0 #D04B92
split-complementary
#D0CC4B #4B92D0 #894BD0
monochromatic
#7F7D21 #B0AC2E #D0CC4B #DDDA7C #E9E7AC

Accessibility & contrast

On white

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

On black

12.42
#D0CC4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0CC4B
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0CC4B#FFFFFF#000000##000000
##D0CC4B1.001.6912.4212.42
#FFFFFF1.691.0021.0021.00
#00000012.4221.001.001.00
##00000012.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC43A
Deuteranopia (green-blind)
#DFC953
Tritanopia (blue-blind)
#DEBFB1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d0cc4b;
/* rgb */ color: rgb(208, 204, 75);
/* oklch */ color: oklch(82.5% 0.148 107.5);
Tailwind
colors: {
  custom: {
    50: '#e1db83',
    500: '#d0cc4b',
    950: '#000000',
  },
}
SCSS
$custom: #d0cc4b;
$custom-light: #e1db83;
$custom-dark: #000000;
JSON
{
  "hex": "#d0cc4b",
  "rgb": {
    "r": 208,
    "g": 204,
    "b": 75
  },
  "hsl": {
    "h": 58.195,
    "s": 58.59,
    "l": 55.49
  },
  "oklch": {
    "l": 0.82474,
    "c": 0.14803,
    "h": 107.5
  },
  "luminance": 0.57104
}

Semantic roles & 50–950 ramp

primary
#D0CC4B
secondary
#383B87
accent
#4BE246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D0CC4B

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

Preview Lab → · Contrast checker → · Palette generator →

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