#D4C34D#D4C34D

#D4C34D is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.9% C 0.138 H 101.1°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#D4C34D
RGBrgb(212, 195, 77)
HSLhsl(52, 61%, 57%)
HSVhsv(52, 64%, 83%)
CMYKcmyk(0%, 8%, 63.7%, 16.9%)
CIE-LABlab(78.21, -7.87, 59.52)
CIE-LCHlch(78.21, 60.04, 97.53°)
OKLaboklab(80.94% -0.0265 0.1353)
OKLCHoklch(80.94% 0.138 101.1)
XYZxyz(48.0080, 53.5651, 14.8300)
Luminance0.5356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C34D #4D5ED4
analogous
#D47F4D #D4C34D #A2D44D
triadic
#D4C34D #4DD4C3 #C34DD4
tetradic
#D4C34D #4DD47F #4D5ED4 #D44DA2
square
#D4C34D #4DD47F #4D5ED4 #D44DA2
split-complementary
#D4C34D #4DA2D4 #7F4DD4
monochromatic
#867920 #B7A62C #D4C34D #E0D47E #ECE4B0

Accessibility & contrast

On white

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

On black

11.71
#D4C34D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C34D
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C34D#FFFFFF#000000##000000
##D4C34D1.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD3F
Deuteranopia (green-blind)
#D9C453
Tritanopia (blue-blind)
#E3B6AA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d4c34d;
/* rgb */ color: rgb(212, 195, 77);
/* oklch */ color: oklch(80.9% 0.138 101.1);
Tailwind
colors: {
  custom: {
    50: '#e4d484',
    500: '#d4c34d',
    950: '#000000',
  },
}
SCSS
$custom: #d4c34d;
$custom-light: #e4d484;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c34d",
  "rgb": {
    "r": 212,
    "g": 195,
    "b": 77
  },
  "hsl": {
    "h": 52.444,
    "s": 61.086,
    "l": 56.667
  },
  "oklch": {
    "l": 0.80944,
    "c": 0.13784,
    "h": 101.1
  },
  "luminance": 0.53563
}

Semantic roles & 50–950 ramp

primary
#D4C34D
secondary
#38438D
accent
#58E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D4C34D

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

Preview Lab → · Contrast checker → · Palette generator →

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