#D4CB4B#D4CB4B

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

Color values

HEX#D4CB4B
RGBrgb(212, 203, 75)
HSLhsl(56, 61%, 56%)
HSVhsv(56, 65%, 83%)
CMYKcmyk(0%, 4.2%, 64.6%, 16.9%)
CIE-LABlab(80.30, -12.06, 62.57)
CIE-LCHlch(80.30, 63.72, 100.91°)
OKLaboklab(82.6% -0.0387 0.1414)
OKLCHoklch(82.6% 0.147 105.3)
XYZxyz(49.7792, 57.2187, 15.0774)
Luminance0.5722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CB4B #4B54D4
analogous
#D4874B #D4CB4B #99D44B
triadic
#D4CB4B #4BD4CB #CB4BD4
tetradic
#D4CB4B #4BD487 #4B54D4 #D44B99
square
#D4CB4B #4BD487 #4B54D4 #D44B99
split-complementary
#D4CB4B #4B99D4 #874BD4
monochromatic
#857E20 #B6AD2C #D4CB4B #E0D97C #ECE8AE

Accessibility & contrast

On white

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

On black

12.44
#D4CB4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CB4B
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CB4B#FFFFFF#000000##000000
##D4CB4B1.001.6912.4412.44
#FFFFFF1.691.0021.0021.00
#00000012.4421.001.001.00
##00000012.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4cb4b;
/* rgb */ color: rgb(212, 203, 75);
/* oklch */ color: oklch(82.6% 0.147 105.3);
Tailwind
colors: {
  custom: {
    50: '#e4da83',
    500: '#d4cb4b',
    950: '#000000',
  },
}
SCSS
$custom: #d4cb4b;
$custom-light: #e4da83;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cb4b",
  "rgb": {
    "r": 212,
    "g": 203,
    "b": 75
  },
  "hsl": {
    "h": 56.058,
    "s": 61.435,
    "l": 56.275
  },
  "oklch": {
    "l": 0.82604,
    "c": 0.14659,
    "h": 105.3
  },
  "luminance": 0.57217
}

Semantic roles & 50–950 ramp

primary
#D4CB4B
secondary
#383D8C
accent
#4EE543
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D4CB4B

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

Preview Lab → · Contrast checker → · Palette generator →

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