#D1C84E#D1C84E

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

Color values

HEX#D1C84E
RGBrgb(209, 200, 78)
HSLhsl(56, 59%, 56%)
HSVhsv(56, 63%, 82%)
CMYKcmyk(0%, 4.3%, 62.7%, 18%)
CIE-LABlab(79.28, -11.62, 60.17)
CIE-LCHlch(79.28, 61.28, 100.93°)
OKLaboklab(81.74% -0.0369 0.1369)
OKLCHoklch(81.74% 0.142 105.1)
XYZxyz(48.3257, 55.4156, 15.3569)
Luminance0.5541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C84E #4E57D1
analogous
#D1874E #D1C84E #99D14E
triadic
#D1C84E #4ED1C8 #C84ED1
tetradic
#D1C84E #4ED187 #4E57D1 #D14E99
square
#D1C84E #4ED187 #4E57D1 #D14E99
split-complementary
#D1C84E #4E99D1 #874ED1
monochromatic
#837C22 #B3AA2F #D1C84E #DED77F #EAE6AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1C84E#FFFFFF#000000##000000
##D1C84E1.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)
#D8C13F
Deuteranopia (green-blind)
#DCC755
Tritanopia (blue-blind)
#E0BBAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d1c84e;
/* rgb */ color: rgb(209, 200, 78);
/* oklch */ color: oklch(81.7% 0.142 105.1);
Tailwind
colors: {
  custom: {
    50: '#e2d885',
    500: '#d1c84e',
    950: '#000000',
  },
}
SCSS
$custom: #d1c84e;
$custom-light: #e2d885;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c84e",
  "rgb": {
    "r": 209,
    "g": 200,
    "b": 78
  },
  "hsl": {
    "h": 55.878,
    "s": 58.744,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81738,
    "c": 0.14174,
    "h": 105.1
  },
  "luminance": 0.55414
}

Semantic roles & 50–950 ramp

primary
#D1C84E
secondary
#393F8A
accent
#51E246
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1C84E

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

Preview Lab → · Contrast checker → · Palette generator →

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