#D4CD4B#D4CD4B

#D4CD4B is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 83.0% C 0.148 H 106.2°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#D4CD4B
RGBrgb(212, 205, 75)
HSLhsl(57, 61%, 56%)
HSVhsv(57, 65%, 83%)
CMYKcmyk(0%, 3.3%, 64.6%, 16.9%)
CIE-LABlab(80.83, -13.07, 63.12)
CIE-LCHlch(80.83, 64.46, 101.70°)
OKLaboklab(83.03% -0.0415 0.1426)
OKLCHoklch(83.03% 0.148 106.2)
XYZxyz(50.2545, 58.1694, 15.2359)
Luminance0.5817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CD4B #4B52D4
analogous
#D4894B #D4CD4B #97D44B
triadic
#D4CD4B #4BD4CD #CD4BD4
tetradic
#D4CD4B #4BD489 #4B52D4 #D44B97
square
#D4CD4B #4BD489 #4B52D4 #D44B97
split-complementary
#D4CD4B #4B97D4 #894BD4
monochromatic
#858020 #B6AF2C #D4CD4B #E0DB7C #ECE8AE

Accessibility & contrast

On white

1.66
#D4CD4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.63
#D4CD4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CD4B
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CD4B#FFFFFF#000000##000000
##D4CD4B1.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC63A
Deuteranopia (green-blind)
#E1CB53
Tritanopia (blue-blind)
#E3C0B2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d4cd4b;
/* rgb */ color: rgb(212, 205, 75);
/* oklch */ color: oklch(83.0% 0.148 106.2);
Tailwind
colors: {
  custom: {
    50: '#e4dc84',
    500: '#d4cd4b',
    950: '#000000',
  },
}
SCSS
$custom: #d4cd4b;
$custom-light: #e4dc84;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cd4b",
  "rgb": {
    "r": 212,
    "g": 205,
    "b": 75
  },
  "hsl": {
    "h": 56.934,
    "s": 61.435,
    "l": 56.275
  },
  "oklch": {
    "l": 0.83027,
    "c": 0.14849,
    "h": 106.2
  },
  "luminance": 0.58168
}

Semantic roles & 50–950 ramp

primary
#D4CD4B
secondary
#383C8C
accent
#4CE543
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D4CD4B

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

Preview Lab → · Contrast checker → · Palette generator →

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