#D4CE4A#D4CE4A

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

Color values

HEX#D4CE4A
RGBrgb(212, 206, 74)
HSLhsl(57, 62%, 56%)
HSVhsv(57, 65%, 83%)
CMYKcmyk(0%, 2.8%, 65.1%, 16.9%)
CIE-LABlab(81.09, -13.63, 63.79)
CIE-LCHlch(81.09, 65.23, 102.06°)
OKLaboklab(83.23% -0.0432 0.1438)
OKLCHoklch(83.23% 0.15 106.7)
XYZxyz(50.4605, 58.6358, 15.1370)
Luminance0.5863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CE4A #4A50D4
analogous
#D4894A #D4CE4A #95D44A
triadic
#D4CE4A #4AD4CE #CE4AD4
tetradic
#D4CE4A #4AD489 #4A50D4 #D44A95
square
#D4CE4A #4AD489 #4A50D4 #D44A95
split-complementary
#D4CE4A #4A95D4 #894AD4
monochromatic
#84801F #B6B02B #D4CE4A #E0DB7B #EBE9AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4CE4A#FFFFFF#000000##000000
##D4CE4A1.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)
#DFC638
Deuteranopia (green-blind)
#E2CC52
Tritanopia (blue-blind)
#E3C1B3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d4ce4a;
/* rgb */ color: rgb(212, 206, 74);
/* oklch */ color: oklch(83.2% 0.150 106.7);
Tailwind
colors: {
  custom: {
    50: '#e4dc83',
    500: '#d4ce4a',
    950: '#000000',
  },
}
SCSS
$custom: #d4ce4a;
$custom-light: #e4dc83;
$custom-dark: #000000;
JSON
{
  "hex": "#d4ce4a",
  "rgb": {
    "r": 212,
    "g": 206,
    "b": 74
  },
  "hsl": {
    "h": 57.391,
    "s": 61.607,
    "l": 56.078
  },
  "oklch": {
    "l": 0.8323,
    "c": 0.15018,
    "h": 106.7
  },
  "luminance": 0.58634
}

Semantic roles & 50–950 ramp

primary
#D4CE4A
secondary
#373B8B
accent
#4AE543
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D4CE4A

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

Preview Lab → · Contrast checker → · Palette generator →

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