#D4C043#D4C043

#D4C043 is a light, vivid yellow. Relative luminance 0.521; OKLCH L 80.2% C 0.143 H 100.1°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#D4C043
RGBrgb(212, 192, 67)
HSLhsl(52, 63%, 55%)
HSVhsv(52, 68%, 83%)
CMYKcmyk(0%, 9.4%, 68.4%, 16.9%)
CIE-LABlab(77.34, -6.91, 62.73)
CIE-LCHlch(77.34, 63.11, 96.28°)
OKLaboklab(80.23% -0.0249 0.1405)
OKLCHoklch(80.23% 0.143 100.1)
XYZxyz(47.0162, 52.1037, 12.8896)
Luminance0.5210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C043 #4357D4
analogous
#D47743 #D4C043 #A0D443
triadic
#D4C043 #43D4C0 #C043D4
tetradic
#D4C043 #43D477 #4357D4 #D443A0
square
#D4C043 #43D477 #4357D4 #D443A0
split-complementary
#D4C043 #43A0D4 #7743D4
monochromatic
#7F721D #B19E29 #D4C043 #DFD175 #EBE1A7

Accessibility & contrast

On white

1.84
#D4C043 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.42
#D4C043 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C043
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C043#FFFFFF#000000##000000
##D4C0431.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB31
Deuteranopia (green-blind)
#D7C24A
Tritanopia (blue-blind)
#E4B2A7
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d4c043;
/* rgb */ color: rgb(212, 192, 67);
/* oklch */ color: oklch(80.2% 0.143 100.1);
Tailwind
colors: {
  custom: {
    50: '#e5d27e',
    500: '#d4c043',
    950: '#000000',
  },
}
SCSS
$custom: #d4c043;
$custom-light: #e5d27e;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c043",
  "rgb": {
    "r": 212,
    "g": 192,
    "b": 67
  },
  "hsl": {
    "h": 51.724,
    "s": 62.771,
    "l": 54.706
  },
  "oklch": {
    "l": 0.80233,
    "c": 0.14265,
    "h": 100.1
  },
  "luminance": 0.52102
}

Semantic roles & 50–950 ramp

primary
#D4C043
secondary
#344087
accent
#59E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D4C043

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

Preview Lab → · Contrast checker → · Palette generator →

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