#D4CE48#D4CE48

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

Color values

HEX#D4CE48
RGBrgb(212, 206, 72)
HSLhsl(57, 62%, 56%)
HSVhsv(57, 66%, 83%)
CMYKcmyk(0%, 2.8%, 66%, 16.9%)
CIE-LABlab(81.08, -13.75, 64.57)
CIE-LCHlch(81.08, 66.02, 102.02°)
OKLaboklab(83.21% -0.0437 0.1452)
OKLCHoklch(83.21% 0.152 106.8)
XYZxyz(50.3942, 58.6092, 14.7878)
Luminance0.5861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CE48 #484ED4
analogous
#D48848 #D4CE48 #94D448
triadic
#D4CE48 #48D4CE #CE48D4
tetradic
#D4CE48 #48D488 #484ED4 #D44894
square
#D4CE48 #48D488 #484ED4 #D44894
split-complementary
#D4CE48 #4894D4 #8848D4
monochromatic
#837F1F #B4AE2A #D4CE48 #E0DB7A #EBE9AB

Accessibility & contrast

On white

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

On black

12.72
#D4CE48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CE48
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CE48#FFFFFF#000000##000000
##D4CE481.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4ce48;
/* rgb */ color: rgb(212, 206, 72);
/* oklch */ color: oklch(83.2% 0.152 106.8);
Tailwind
colors: {
  custom: {
    50: '#e5dc82',
    500: '#d4ce48',
    950: '#000000',
  },
}
SCSS
$custom: #d4ce48;
$custom-light: #e5dc82;
$custom-dark: #000000;
JSON
{
  "hex": "#d4ce48",
  "rgb": {
    "r": 212,
    "g": 206,
    "b": 72
  },
  "hsl": {
    "h": 57.429,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.83214,
    "c": 0.1516,
    "h": 106.8
  },
  "luminance": 0.58608
}

Semantic roles & 50–950 ramp

primary
#D4CE48
secondary
#363A8A
accent
#4AE543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D4CE48

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

Preview Lab → · Contrast checker → · Palette generator →

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