#D4C84B#D4C84B

#D4C84B is a light, vivid yellow. Relative luminance 0.558; OKLCH L 82.0% C 0.144 H 103.8°. Best body text is #000000 at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#D4C84B
RGBrgb(212, 200, 75)
HSLhsl(55, 61%, 56%)
HSVhsv(55, 65%, 83%)
CMYKcmyk(0%, 5.7%, 64.6%, 16.9%)
CIE-LABlab(79.51, -10.55, 61.74)
CIE-LCHlch(79.51, 62.63, 99.69°)
OKLaboklab(81.97% -0.0344 0.1396)
OKLCHoklch(81.97% 0.144 103.8)
XYZxyz(49.0775, 55.8155, 14.8435)
Luminance0.5581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C84B #4B57D4
analogous
#D4844B #D4C84B #9CD44B
triadic
#D4C84B #4BD4C8 #C84BD4
tetradic
#D4C84B #4BD484 #4B57D4 #D44B9C
square
#D4C84B #4BD484 #4B57D4 #D44B9C
split-complementary
#D4C84B #4B9CD4 #844BD4
monochromatic
#857C20 #B6AA2C #D4C84B #E0D77C #ECE6AE

Accessibility & contrast

On white

1.73
#D4C84B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.16
#D4C84B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C84B
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C84B#FFFFFF#000000##000000
##D4C84B1.001.7312.1612.16
#FFFFFF1.731.0021.0021.00
#00000012.1621.001.001.00
##00000012.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C23B
Deuteranopia (green-blind)
#DDC852
Tritanopia (blue-blind)
#E3BBAE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d4c84b;
/* rgb */ color: rgb(212, 200, 75);
/* oklch */ color: oklch(82.0% 0.144 103.8);
Tailwind
colors: {
  custom: {
    50: '#e4d883',
    500: '#d4c84b',
    950: '#000000',
  },
}
SCSS
$custom: #d4c84b;
$custom-light: #e4d883;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c84b",
  "rgb": {
    "r": 212,
    "g": 200,
    "b": 75
  },
  "hsl": {
    "h": 54.745,
    "s": 61.435,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81973,
    "c": 0.14381,
    "h": 103.8
  },
  "luminance": 0.55814
}

Semantic roles & 50–950 ramp

primary
#D4C84B
secondary
#383F8C
accent
#51E543
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D4C84B

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

Preview Lab → · Contrast checker → · Palette generator →

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