#D1C14D#D1C14D

#D1C14D is a light, vivid yellow. Relative luminance 0.522; OKLCH L 80.3% C 0.136 H 101.5°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#D1C14D
RGBrgb(209, 193, 77)
HSLhsl(53, 59%, 56%)
HSVhsv(53, 63%, 82%)
CMYKcmyk(0%, 7.7%, 63.2%, 18%)
CIE-LABlab(77.42, -8.11, 58.60)
CIE-LCHlch(77.42, 59.16, 97.88°)
OKLaboklab(80.26% -0.027 0.1334)
OKLCHoklch(80.26% 0.136 101.5)
XYZxyz(46.7059, 52.2330, 14.6415)
Luminance0.5223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C14D #4D5DD1
analogous
#D17F4D #D1C14D #9FD14D
triadic
#D1C14D #4DD1C1 #C14DD1
tetradic
#D1C14D #4DD17F #4D5DD1 #D14D9F
square
#D1C14D #4DD17F #4D5DD1 #D14D9F
split-complementary
#D1C14D #4D9FD1 #7F4DD1
monochromatic
#827622 #B3A32E #D1C14D #DED27E #EAE3AE

Accessibility & contrast

On white

1.83
#D1C14D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.45
#D1C14D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C14D
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C14D#FFFFFF#000000##000000
##D1C14D1.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB3F
Deuteranopia (green-blind)
#D7C253
Tritanopia (blue-blind)
#E0B4A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d1c14d;
/* rgb */ color: rgb(209, 193, 77);
/* oklch */ color: oklch(80.3% 0.136 101.5);
Tailwind
colors: {
  custom: {
    50: '#e2d384',
    500: '#d1c14d',
    950: '#000000',
  },
}
SCSS
$custom: #d1c14d;
$custom-light: #e2d384;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c14d",
  "rgb": {
    "r": 209,
    "g": 193,
    "b": 77
  },
  "hsl": {
    "h": 52.727,
    "s": 58.929,
    "l": 56.078
  },
  "oklch": {
    "l": 0.80257,
    "c": 0.1361,
    "h": 101.5
  },
  "luminance": 0.52231
}

Semantic roles & 50–950 ramp

primary
#D1C14D
secondary
#394389
accent
#59E246
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1C14D

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

Preview Lab → · Contrast checker → · Palette generator →

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