#D4CB4C#D4CB4C

#D4CB4C is a very light, vivid yellow. Relative luminance 0.572; OKLCH L 82.6% C 0.146 H 105.3°. Best body text is #000000 at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#D4CB4C
RGBrgb(212, 203, 76)
HSLhsl(56, 61%, 56%)
HSVhsv(56, 64%, 83%)
CMYKcmyk(0%, 4.2%, 64.2%, 16.9%)
CIE-LABlab(80.31, -12.00, 62.17)
CIE-LCHlch(80.31, 63.32, 100.93°)
OKLaboklab(82.61% -0.0384 0.1407)
OKLCHoklch(82.61% 0.146 105.3)
XYZxyz(49.8137, 57.2325, 15.2591)
Luminance0.5723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CB4C #4C55D4
analogous
#D4874C #D4CB4C #99D44C
triadic
#D4CB4C #4CD4CB #CB4CD4
tetradic
#D4CB4C #4CD487 #4C55D4 #D44C99
square
#D4CB4C #4CD487 #4C55D4 #D44C99
split-complementary
#D4CB4C #4C99D4 #874CD4
monochromatic
#867F20 #B7AE2C #D4CB4C #E0D97D #ECE8AF

Accessibility & contrast

On white

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

On black

12.45
#D4CB4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CB4C
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CB4C#FFFFFF#000000##000000
##D4CB4C1.001.6912.4512.45
#FFFFFF1.691.0021.0021.00
#00000012.4521.001.001.00
##00000012.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC43C
Deuteranopia (green-blind)
#DFCA54
Tritanopia (blue-blind)
#E3BEB1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d4cb4c;
/* rgb */ color: rgb(212, 203, 76);
/* oklch */ color: oklch(82.6% 0.146 105.3);
Tailwind
colors: {
  custom: {
    50: '#e4da84',
    500: '#d4cb4c',
    950: '#000000',
  },
}
SCSS
$custom: #d4cb4c;
$custom-light: #e4da84;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cb4c",
  "rgb": {
    "r": 212,
    "g": 203,
    "b": 76
  },
  "hsl": {
    "h": 56.029,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.82613,
    "c": 0.14584,
    "h": 105.3
  },
  "luminance": 0.57231
}

Semantic roles & 50–950 ramp

primary
#D4CB4C
secondary
#383E8C
accent
#4EE443
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D4CB4C

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

Preview Lab → · Contrast checker → · Palette generator →

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