#D4C250#D4C250

#D4C250 is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.8% C 0.135 H 100.3°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#D4C250
RGBrgb(212, 194, 80)
HSLhsl(52, 61%, 57%)
HSVhsv(52, 62%, 83%)
CMYKcmyk(0%, 8.5%, 62.3%, 16.9%)
CIE-LABlab(77.97, -7.17, 57.98)
CIE-LCHlch(77.97, 58.42, 97.05°)
OKLaboklab(80.76% -0.0242 0.1324)
OKLCHoklch(80.76% 0.135 100.3)
XYZxyz(47.8931, 53.1618, 15.3264)
Luminance0.5316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C250 #5062D4
analogous
#D48050 #D4C250 #A4D450
triadic
#D4C250 #50D4C2 #C250D4
tetradic
#D4C250 #50D480 #5062D4 #D450A4
square
#D4C250 #50D480 #5062D4 #D450A4
split-complementary
#D4C250 #50A4D4 #8050D4
monochromatic
#887A21 #B9A62E #D4C250 #E0D381 #ECE4B2

Accessibility & contrast

On white

1.81
#D4C250 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.63
#D4C250 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C250
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C250#FFFFFF#000000##000000
##D4C2501.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD43
Deuteranopia (green-blind)
#D8C456
Tritanopia (blue-blind)
#E3B5AA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d4c250;
/* rgb */ color: rgb(212, 194, 80);
/* oklch */ color: oklch(80.8% 0.135 100.3);
Tailwind
colors: {
  custom: {
    50: '#e4d486',
    500: '#d4c250',
    950: '#000000',
  },
}
SCSS
$custom: #d4c250;
$custom-light: #e4d486;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c250",
  "rgb": {
    "r": 212,
    "g": 194,
    "b": 80
  },
  "hsl": {
    "h": 51.818,
    "s": 60.55,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80764,
    "c": 0.13461,
    "h": 100.3
  },
  "luminance": 0.5316
}

Semantic roles & 50–950 ramp

primary
#D4C250
secondary
#3A458F
accent
#5AE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D4C250

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

Preview Lab → · Contrast checker → · Palette generator →

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