#D4C53B#D4C53B

#D4C53B is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.2% C 0.152 H 103.0°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#D4C53B
RGBrgb(212, 197, 59)
HSLhsl(54, 64%, 53%)
HSVhsv(54, 72%, 83%)
CMYKcmyk(0%, 7.1%, 72.2%, 16.9%)
CIE-LABlab(78.61, -9.86, 67.00)
CIE-LCHlch(78.61, 67.72, 98.37°)
OKLaboklab(81.22% -0.0341 0.1481)
OKLCHoklch(81.22% 0.152 103)
XYZxyz(47.9092, 54.2473, 12.0840)
Luminance0.5424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C53B #3B4AD4
analogous
#D4793B #D4C53B #96D43B
triadic
#D4C53B #3BD4C5 #C53BD4
tetradic
#D4C53B #3BD479 #3B4AD4 #D43B96
square
#D4C53B #3BD479 #3B4AD4 #D43B96
split-complementary
#D4C53B #3B96D4 #793BD4
monochromatic
#7A711B #AC9F26 #D4C53B #DFD46D #EAE39F

Accessibility & contrast

On white

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

On black

11.85
#D4C53B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C53B
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C53B#FFFFFF#000000##000000
##D4C53B1.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF23
Deuteranopia (green-blind)
#DCC644
Tritanopia (blue-blind)
#E4B7AA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d4c53b;
/* rgb */ color: rgb(212, 197, 59);
/* oklch */ color: oklch(81.2% 0.152 103.0);
Tailwind
colors: {
  custom: {
    50: '#e5d67a',
    500: '#d4c53b',
    950: '#000000',
  },
}
SCSS
$custom: #d4c53b;
$custom-light: #e5d67a;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c53b",
  "rgb": {
    "r": 212,
    "g": 197,
    "b": 59
  },
  "hsl": {
    "h": 54.118,
    "s": 64.017,
    "l": 53.137
  },
  "oklch": {
    "l": 0.8122,
    "c": 0.15196,
    "h": 103
  },
  "luminance": 0.54245
}

Semantic roles & 50–950 ramp

primary
#D4C53B
secondary
#313982
accent
#51E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D4C53B

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

Preview Lab → · Contrast checker → · Palette generator →

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