#D1C84D#D1C84D

#D1C84D is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.7% C 0.143 H 105.1°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#D1C84D
RGBrgb(209, 200, 77)
HSLhsl(56, 59%, 56%)
HSVhsv(56, 63%, 82%)
CMYKcmyk(0%, 4.3%, 63.2%, 18%)
CIE-LABlab(79.27, -11.68, 60.58)
CIE-LCHlch(79.27, 61.70, 100.91°)
OKLaboklab(81.73% -0.0372 0.1376)
OKLCHoklch(81.73% 0.143 105.1)
XYZxyz(48.2901, 55.4014, 15.1696)
Luminance0.5540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C84D #4D56D1
analogous
#D1864D #D1C84D #98D14D
triadic
#D1C84D #4DD1C8 #C84DD1
tetradic
#D1C84D #4DD186 #4D56D1 #D14D98
square
#D1C84D #4DD186 #4D56D1 #D14D98
split-complementary
#D1C84D #4D98D1 #864DD1
monochromatic
#827B22 #B3AA2E #D1C84D #DED77E #EAE6AE

Accessibility & contrast

On white

1.74
#D1C84D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.08
#D1C84D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C84D
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C84D#FFFFFF#000000##000000
##D1C84D1.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C13E
Deuteranopia (green-blind)
#DCC754
Tritanopia (blue-blind)
#E0BBAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d1c84d;
/* rgb */ color: rgb(209, 200, 77);
/* oklch */ color: oklch(81.7% 0.143 105.1);
Tailwind
colors: {
  custom: {
    50: '#e2d884',
    500: '#d1c84d',
    950: '#000000',
  },
}
SCSS
$custom: #d1c84d;
$custom-light: #e2d884;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c84d",
  "rgb": {
    "r": 209,
    "g": 200,
    "b": 77
  },
  "hsl": {
    "h": 55.909,
    "s": 58.929,
    "l": 56.078
  },
  "oklch": {
    "l": 0.81729,
    "c": 0.14252,
    "h": 105.1
  },
  "luminance": 0.554
}

Semantic roles & 50–950 ramp

primary
#D1C84D
secondary
#393F89
accent
#50E246
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1C84D

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

Preview Lab → · Contrast checker → · Palette generator →

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