#D4C458#D4C458

#D4C458 is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.3% C 0.130 H 101.0°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#D4C458
RGBrgb(212, 196, 88)
HSLhsl(52, 59%, 59%)
HSVhsv(52, 58%, 83%)
CMYKcmyk(0%, 7.5%, 58.5%, 16.9%)
CIE-LABlab(78.57, -7.65, 55.09)
CIE-LCHlch(78.57, 55.62, 97.91°)
OKLaboklab(81.26% -0.0246 0.1273)
OKLCHoklch(81.26% 0.13 101)
XYZxyz(48.6545, 54.1834, 17.1262)
Luminance0.5418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C458 #5868D4
analogous
#D48658 #D4C458 #A6D458
triadic
#D4C458 #58D4C4 #C458D4
tetradic
#D4C458 #58D486 #5868D4 #D458A6
square
#D4C458 #58D486 #5868D4 #D458A6
split-complementary
#D4C458 #58A6D4 #8658D4
monochromatic
#8D8024 #BEAC31 #D4C458 #E1D589 #EDE6B9

Accessibility & contrast

On white

1.77
#D4C458 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.84
#D4C458 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C458
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C458#FFFFFF#000000##000000
##D4C4581.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF4D
Deuteranopia (green-blind)
#D9C55D
Tritanopia (blue-blind)
#E3B8AC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d4c458;
/* rgb */ color: rgb(212, 196, 88);
/* oklch */ color: oklch(81.3% 0.130 101.0);
Tailwind
colors: {
  custom: {
    50: '#e4d58b',
    500: '#d4c458',
    950: '#000000',
  },
}
SCSS
$custom: #d4c458;
$custom-light: #e4d58b;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c458",
  "rgb": {
    "r": 212,
    "g": 196,
    "b": 88
  },
  "hsl": {
    "h": 52.258,
    "s": 59.048,
    "l": 58.824
  },
  "oklch": {
    "l": 0.81263,
    "c": 0.12968,
    "h": 101
  },
  "luminance": 0.54181
}

Semantic roles & 50–950 ramp

primary
#D4C458
secondary
#3D4893
accent
#5AE246
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D4C458

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

Preview Lab → · Contrast checker → · Palette generator →

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