#D4C450#D4C450

#D4C450 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 81.2% C 0.136 H 101.5°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#D4C450
RGBrgb(212, 196, 80)
HSLhsl(53, 61%, 57%)
HSVhsv(53, 62%, 83%)
CMYKcmyk(0%, 7.5%, 62.3%, 16.9%)
CIE-LABlab(78.50, -8.20, 58.55)
CIE-LCHlch(78.50, 59.12, 97.97°)
OKLaboklab(81.18% -0.0271 0.1336)
OKLCHoklch(81.18% 0.136 101.5)
XYZxyz(48.3412, 54.0581, 15.4758)
Luminance0.5406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C450 #5060D4
analogous
#D48250 #D4C450 #A2D450
triadic
#D4C450 #50D4C4 #C450D4
tetradic
#D4C450 #50D482 #5060D4 #D450A2
square
#D4C450 #50D482 #5060D4 #D450A2
split-complementary
#D4C450 #50A2D4 #8250D4
monochromatic
#887C21 #B9A82E #D4C450 #E0D581 #ECE5B2

Accessibility & contrast

On white

1.78
#D4C450 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.81
#D4C450 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C450
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C450#FFFFFF#000000##000000
##D4C4501.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE42
Deuteranopia (green-blind)
#DAC556
Tritanopia (blue-blind)
#E3B7AB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d4c450;
/* rgb */ color: rgb(212, 196, 80);
/* oklch */ color: oklch(81.2% 0.136 101.5);
Tailwind
colors: {
  custom: {
    50: '#e4d586',
    500: '#d4c450',
    950: '#000000',
  },
}
SCSS
$custom: #d4c450;
$custom-light: #e4d586;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c450",
  "rgb": {
    "r": 212,
    "g": 196,
    "b": 80
  },
  "hsl": {
    "h": 52.727,
    "s": 60.55,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81181,
    "c": 0.13635,
    "h": 101.5
  },
  "luminance": 0.54056
}

Semantic roles & 50–950 ramp

primary
#D4C450
secondary
#3A448F
accent
#57E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D4C450

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

Preview Lab → · Contrast checker → · Palette generator →

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