#D4C150#D4C150

#D4C150 is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.6% C 0.134 H 99.8°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#D4C150
RGBrgb(212, 193, 80)
HSLhsl(51, 61%, 57%)
HSVhsv(51, 62%, 83%)
CMYKcmyk(0%, 9%, 62.3%, 16.9%)
CIE-LABlab(77.71, -6.65, 57.70)
CIE-LCHlch(77.71, 58.08, 96.58°)
OKLaboklab(80.56% -0.0227 0.1318)
OKLCHoklch(80.56% 0.134 99.8)
XYZxyz(47.6712, 52.7182, 15.2524)
Luminance0.5272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C150 #5063D4
analogous
#D47F50 #D4C150 #A5D450
triadic
#D4C150 #50D4C1 #C150D4
tetradic
#D4C150 #50D47F #5063D4 #D450A5
square
#D4C150 #50D47F #5063D4 #D450A5
split-complementary
#D4C150 #50A5D4 #7F50D4
monochromatic
#887921 #B9A52E #D4C150 #E0D281 #ECE4B2

Accessibility & contrast

On white

1.82
#D4C150 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.54
#D4C150 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C150
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C150#FFFFFF#000000##000000
##D4C1501.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC43
Deuteranopia (green-blind)
#D7C356
Tritanopia (blue-blind)
#E3B4A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d4c150;
/* rgb */ color: rgb(212, 193, 80);
/* oklch */ color: oklch(80.6% 0.134 99.8);
Tailwind
colors: {
  custom: {
    50: '#e4d386',
    500: '#d4c150',
    950: '#000000',
  },
}
SCSS
$custom: #d4c150;
$custom-light: #e4d386;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c150",
  "rgb": {
    "r": 212,
    "g": 193,
    "b": 80
  },
  "hsl": {
    "h": 51.364,
    "s": 60.55,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80557,
    "c": 0.13376,
    "h": 99.8
  },
  "luminance": 0.52716
}

Semantic roles & 50–950 ramp

primary
#D4C150
secondary
#3A468F
accent
#5BE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D4C150

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

Preview Lab → · Contrast checker → · Palette generator →

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