#D1C53B#D1C53B

#D1C53B is a light, vivid yellow. Relative luminance 0.538; OKLCH L 81.0% C 0.152 H 104.3°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#D1C53B
RGBrgb(209, 197, 59)
HSLhsl(55, 62%, 53%)
HSVhsv(55, 72%, 82%)
CMYKcmyk(0%, 5.7%, 71.8%, 18%)
CIE-LABlab(78.35, -11.14, 66.66)
CIE-LCHlch(78.35, 67.59, 99.49°)
OKLaboklab(80.95% -0.0375 0.1475)
OKLCHoklch(80.95% 0.152 104.3)
XYZxyz(47.0522, 53.8055, 12.0439)
Luminance0.5380 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C53B #3B47D1
analogous
#D17A3B #D1C53B #92D13B
triadic
#D1C53B #3BD1C5 #C53BD1
tetradic
#D1C53B #3BD17A #3B47D1 #D13B92
square
#D1C53B #3BD17A #3B47D1 #D13B92
split-complementary
#D1C53B #3B92D1 #7A3BD1
monochromatic
#766F1C #A79D27 #D1C53B #DDD46D #E8E29E

Accessibility & contrast

On white

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

On black

11.76
#D1C53B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C53B
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C53B#FFFFFF#000000##000000
##D1C53B1.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE23
Deuteranopia (green-blind)
#DBC545
Tritanopia (blue-blind)
#E1B7AA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d1c53b;
/* rgb */ color: rgb(209, 197, 59);
/* oklch */ color: oklch(81.0% 0.152 104.3);
Tailwind
colors: {
  custom: {
    50: '#e3d67a',
    500: '#d1c53b',
    950: '#000000',
  },
}
SCSS
$custom: #d1c53b;
$custom-light: #e3d67a;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c53b",
  "rgb": {
    "r": 209,
    "g": 197,
    "b": 59
  },
  "hsl": {
    "h": 55.2,
    "s": 61.983,
    "l": 52.549
  },
  "oklch": {
    "l": 0.80953,
    "c": 0.15217,
    "h": 104.3
  },
  "luminance": 0.53804
}

Semantic roles & 50–950 ramp

primary
#D1C53B
secondary
#32387E
accent
#50E543
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D1C53B

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

Preview Lab → · Contrast checker → · Palette generator →

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