#D4CB4E#D4CB4E

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

Color values

HEX#D4CB4E
RGBrgb(212, 203, 78)
HSLhsl(56, 61%, 57%)
HSVhsv(56, 63%, 83%)
CMYKcmyk(0%, 4.2%, 63.2%, 16.9%)
CIE-LABlab(80.33, -11.88, 61.36)
CIE-LCHlch(80.33, 62.50, 100.96°)
OKLaboklab(82.63% -0.0378 0.1393)
OKLCHoklch(82.63% 0.144 105.2)
XYZxyz(49.8843, 57.2607, 15.6310)
Luminance0.5726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CB4E #4E57D4
analogous
#D4884E #D4CB4E #9AD44E
triadic
#D4CB4E #4ED4CB #CB4ED4
tetradic
#D4CB4E #4ED488 #4E57D4 #D44E9A
square
#D4CB4E #4ED488 #4E57D4 #D44E9A
split-complementary
#D4CB4E #4E9AD4 #884ED4
monochromatic
#878021 #B8AF2D #D4CB4E #E0D97F #ECE8B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4CB4E#FFFFFF#000000##000000
##D4CB4E1.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)
#DCC43E
Deuteranopia (green-blind)
#DFCA55
Tritanopia (blue-blind)
#E3BEB1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d4cb4e;
/* rgb */ color: rgb(212, 203, 78);
/* oklch */ color: oklch(82.6% 0.144 105.2);
Tailwind
colors: {
  custom: {
    50: '#e4da85',
    500: '#d4cb4e',
    950: '#000000',
  },
}
SCSS
$custom: #d4cb4e;
$custom-light: #e4da85;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cb4e",
  "rgb": {
    "r": 212,
    "g": 203,
    "b": 78
  },
  "hsl": {
    "h": 55.97,
    "s": 60.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.82631,
    "c": 0.14434,
    "h": 105.2
  },
  "luminance": 0.57259
}

Semantic roles & 50–950 ramp

primary
#D4CB4E
secondary
#393F8D
accent
#4FE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D4CB4E

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

Preview Lab → · Contrast checker → · Palette generator →

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