#D4CE4B#D4CE4B

#D4CE4B is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 83.2% C 0.149 H 106.7°. Best body text is #000000 at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#D4CE4B
RGBrgb(212, 206, 75)
HSLhsl(57, 61%, 56%)
HSVhsv(57, 65%, 83%)
CMYKcmyk(0%, 2.8%, 64.6%, 16.9%)
CIE-LABlab(81.10, -13.57, 63.40)
CIE-LCHlch(81.10, 64.83, 102.09°)
OKLaboklab(83.24% -0.0429 0.1432)
OKLCHoklch(83.24% 0.149 106.7)
XYZxyz(50.4945, 58.6493, 15.3159)
Luminance0.5865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CE4B #4B51D4
analogous
#D48A4B #D4CE4B #96D44B
triadic
#D4CE4B #4BD4CE #CE4BD4
tetradic
#D4CE4B #4BD48A #4B51D4 #D44B96
square
#D4CE4B #4BD48A #4B51D4 #D44B96
split-complementary
#D4CE4B #4B96D4 #8A4BD4
monochromatic
#858020 #B6B02C #D4CE4B #E0DB7C #ECE9AE

Accessibility & contrast

On white

1.65
#D4CE4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.73
#D4CE4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CE4B
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CE4B#FFFFFF#000000##000000
##D4CE4B1.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC63A
Deuteranopia (green-blind)
#E2CC53
Tritanopia (blue-blind)
#E3C1B3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d4ce4b;
/* rgb */ color: rgb(212, 206, 75);
/* oklch */ color: oklch(83.2% 0.149 106.7);
Tailwind
colors: {
  custom: {
    50: '#e4dc84',
    500: '#d4ce4b',
    950: '#000000',
  },
}
SCSS
$custom: #d4ce4b;
$custom-light: #e4dc84;
$custom-dark: #000000;
JSON
{
  "hex": "#d4ce4b",
  "rgb": {
    "r": 212,
    "g": 206,
    "b": 75
  },
  "hsl": {
    "h": 57.372,
    "s": 61.435,
    "l": 56.275
  },
  "oklch": {
    "l": 0.83238,
    "c": 0.14945,
    "h": 106.7
  },
  "luminance": 0.58648
}

Semantic roles & 50–950 ramp

primary
#D4CE4B
secondary
#383B8C
accent
#4AE543
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D4CE4B

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

Preview Lab → · Contrast checker → · Palette generator →

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