#D4CE40#D4CE40

#D4CE40 is a very light, vivid yellow. Relative luminance 0.585; OKLCH L 83.2% C 0.157 H 106.9°. Best body text is #000000 at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#D4CE40
RGBrgb(212, 206, 64)
HSLhsl(58, 63%, 54%)
HSVhsv(58, 70%, 83%)
CMYKcmyk(0%, 2.8%, 69.8%, 16.9%)
CIE-LABlab(81.02, -14.17, 67.55)
CIE-LCHlch(81.02, 69.02, 101.85°)
OKLaboklab(83.15% -0.0457 0.1501)
OKLCHoklch(83.15% 0.157 106.9)
XYZxyz(50.1500, 58.5115, 13.5017)
Luminance0.5851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CE40 #4046D4
analogous
#D48440 #D4CE40 #90D440
triadic
#D4CE40 #40D4CE #CE40D4
tetradic
#D4CE40 #40D484 #4046D4 #D44090
square
#D4CE40 #40D484 #4046D4 #D44090
split-complementary
#D4CE40 #4090D4 #8440D4
monochromatic
#7D791C #AFAA27 #D4CE40 #DFDB72 #EAE8A4

Accessibility & contrast

On white

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

On black

12.70
#D4CE40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CE40
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CE40#FFFFFF#000000##000000
##D4CE401.001.6512.7012.70
#FFFFFF1.651.0021.0021.00
#00000012.7021.001.001.00
##00000012.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC628
Deuteranopia (green-blind)
#E2CC4A
Tritanopia (blue-blind)
#E3C1B2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d4ce40;
/* rgb */ color: rgb(212, 206, 64);
/* oklch */ color: oklch(83.2% 0.157 106.9);
Tailwind
colors: {
  custom: {
    50: '#e5dc7e',
    500: '#d4ce40',
    950: '#000000',
  },
}
SCSS
$custom: #d4ce40;
$custom-light: #e5dc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d4ce40",
  "rgb": {
    "r": 212,
    "g": 206,
    "b": 64
  },
  "hsl": {
    "h": 57.568,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.83153,
    "c": 0.15692,
    "h": 106.9
  },
  "luminance": 0.5851
}

Semantic roles & 50–950 ramp

primary
#D4CE40
secondary
#333785
accent
#48E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D4CE40

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

Preview Lab → · Contrast checker → · Palette generator →

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