#D4C658#D4C658

#D4C658 is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.7% C 0.132 H 102.1°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#D4C658
RGBrgb(212, 198, 88)
HSLhsl(53, 59%, 59%)
HSVhsv(53, 58%, 83%)
CMYKcmyk(0%, 6.6%, 58.5%, 16.9%)
CIE-LABlab(79.09, -8.67, 55.68)
CIE-LCHlch(79.09, 56.35, 98.85°)
OKLaboklab(81.68% -0.0276 0.1286)
OKLCHoklch(81.68% 0.132 102.1)
XYZxyz(49.1087, 55.0917, 17.2776)
Luminance0.5509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C658 #5866D4
analogous
#D48858 #D4C658 #A4D458
triadic
#D4C658 #58D4C6 #C658D4
tetradic
#D4C658 #58D488 #5866D4 #D458A4
square
#D4C658 #58D488 #5866D4 #D458A4
split-complementary
#D4C658 #58A4D4 #8858D4
monochromatic
#8D8124 #BEAE31 #D4C658 #E1D789 #EDE7B9

Accessibility & contrast

On white

1.75
#D4C658 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.02
#D4C658 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C658
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C658#FFFFFF#000000##000000
##D4C6581.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C04C
Deuteranopia (green-blind)
#DBC75E
Tritanopia (blue-blind)
#E3BAAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d4c658;
/* rgb */ color: rgb(212, 198, 88);
/* oklch */ color: oklch(81.7% 0.132 102.1);
Tailwind
colors: {
  custom: {
    50: '#e4d78b',
    500: '#d4c658',
    950: '#000000',
  },
}
SCSS
$custom: #d4c658;
$custom-light: #e4d78b;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c658",
  "rgb": {
    "r": 212,
    "g": 198,
    "b": 88
  },
  "hsl": {
    "h": 53.226,
    "s": 59.048,
    "l": 58.824
  },
  "oklch": {
    "l": 0.8168,
    "c": 0.1315,
    "h": 102.1
  },
  "luminance": 0.5509
}

Semantic roles & 50–950 ramp

primary
#D4C658
secondary
#3D4793
accent
#57E246
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D4C658

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

Preview Lab → · Contrast checker → · Palette generator →

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