#D4C43B#D4C43B

#D4C43B is a light, vivid yellow. Relative luminance 0.538; OKLCH L 81.0% C 0.151 H 102.5°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#D4C43B
RGBrgb(212, 196, 59)
HSLhsl(54, 64%, 53%)
HSVhsv(54, 72%, 83%)
CMYKcmyk(0%, 7.5%, 72.2%, 16.9%)
CIE-LABlab(78.34, -9.35, 66.75)
CIE-LCHlch(78.34, 67.40, 97.98°)
OKLaboklab(81.01% -0.0327 0.1475)
OKLCHoklch(81.01% 0.151 102.5)
XYZxyz(47.6828, 53.7947, 12.0086)
Luminance0.5379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C43B #3B4BD4
analogous
#D4773B #D4C43B #98D43B
triadic
#D4C43B #3BD4C4 #C43BD4
tetradic
#D4C43B #3BD477 #3B4BD4 #D43B98
square
#D4C43B #3BD477 #3B4BD4 #D43B98
split-complementary
#D4C43B #3B98D4 #773BD4
monochromatic
#7A701B #AC9E26 #D4C43B #DFD36D #EAE29F

Accessibility & contrast

On white

1.79
#D4C43B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.76
#D4C43B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C43B
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C43B#FFFFFF#000000##000000
##D4C43B1.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE23
Deuteranopia (green-blind)
#DBC544
Tritanopia (blue-blind)
#E4B6A9
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d4c43b;
/* rgb */ color: rgb(212, 196, 59);
/* oklch */ color: oklch(81.0% 0.151 102.5);
Tailwind
colors: {
  custom: {
    50: '#e5d57a',
    500: '#d4c43b',
    950: '#000000',
  },
}
SCSS
$custom: #d4c43b;
$custom-light: #e5d57a;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c43b",
  "rgb": {
    "r": 212,
    "g": 196,
    "b": 59
  },
  "hsl": {
    "h": 53.725,
    "s": 64.017,
    "l": 53.137
  },
  "oklch": {
    "l": 0.8101,
    "c": 0.15111,
    "h": 102.5
  },
  "luminance": 0.53793
}

Semantic roles & 50–950 ramp

primary
#D4C43B
secondary
#313A82
accent
#52E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D4C43B

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

Preview Lab → · Contrast checker → · Palette generator →

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