#D1C14B#D1C14B

#D1C14B is a light, vivid yellow. Relative luminance 0.522; OKLCH L 80.2% C 0.138 H 101.6°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#D1C14B
RGBrgb(209, 193, 75)
HSLhsl(53, 59%, 56%)
HSVhsv(53, 64%, 82%)
CMYKcmyk(0%, 7.7%, 64.1%, 18%)
CIE-LABlab(77.40, -8.24, 59.44)
CIE-LCHlch(77.40, 60.01, 97.89°)
OKLaboklab(80.24% -0.0276 0.1349)
OKLCHoklch(80.24% 0.138 101.6)
XYZxyz(46.6363, 52.2052, 14.2753)
Luminance0.5220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C14B #4B5BD1
analogous
#D17E4B #D1C14B #9ED14B
triadic
#D1C14B #4BD1C1 #C14BD1
tetradic
#D1C14B #4BD17E #4B5BD1 #D14B9E
square
#D1C14B #4BD17E #4B5BD1 #D14B9E
split-complementary
#D1C14B #4B9ED1 #7E4BD1
monochromatic
#817521 #B1A22D #D1C14B #DDD27C #EAE3AC

Accessibility & contrast

On white

1.84
#D1C14B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.44
#D1C14B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C14B
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C14B#FFFFFF#000000##000000
##D1C14B1.001.8411.4411.44
#FFFFFF1.841.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB3C
Deuteranopia (green-blind)
#D7C252
Tritanopia (blue-blind)
#E0B4A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d1c14b;
/* rgb */ color: rgb(209, 193, 75);
/* oklch */ color: oklch(80.2% 0.138 101.6);
Tailwind
colors: {
  custom: {
    50: '#e2d383',
    500: '#d1c14b',
    950: '#000000',
  },
}
SCSS
$custom: #d1c14b;
$custom-light: #e2d383;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c14b",
  "rgb": {
    "r": 209,
    "g": 193,
    "b": 75
  },
  "hsl": {
    "h": 52.836,
    "s": 59.292,
    "l": 55.686
  },
  "oklch": {
    "l": 0.80238,
    "c": 0.13766,
    "h": 101.6
  },
  "luminance": 0.52203
}

Semantic roles & 50–950 ramp

primary
#D1C14B
secondary
#384288
accent
#58E245
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1C14B

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

Preview Lab → · Contrast checker → · Palette generator →

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