#D1C44F#D1C44F

#D1C44F is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.9% C 0.137 H 103.0°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#D1C44F
RGBrgb(209, 196, 79)
HSLhsl(54, 59%, 56%)
HSVhsv(54, 62%, 82%)
CMYKcmyk(0%, 6.2%, 62.2%, 18%)
CIE-LABlab(78.23, -9.52, 58.62)
CIE-LCHlch(78.23, 59.38, 99.22°)
OKLaboklab(80.91% -0.0308 0.1337)
OKLCHoklch(80.91% 0.137 103)
XYZxyz(47.4475, 53.6015, 15.2424)
Luminance0.5360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C44F #4F5CD1
analogous
#D1834F #D1C44F #9DD14F
triadic
#D1C44F #4FD1C4 #C44FD1
tetradic
#D1C44F #4FD183 #4F5CD1 #D14F9D
square
#D1C44F #4FD183 #4F5CD1 #D14F9D
split-complementary
#D1C44F #4F9DD1 #834FD1
monochromatic
#837A22 #B4A72F #D1C44F #DED480 #EAE5B0

Accessibility & contrast

On white

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

On black

11.72
#D1C44F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C44F
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C44F#FFFFFF#000000##000000
##D1C44F1.001.7911.7211.72
#FFFFFF1.791.0021.0021.00
#00000011.7221.001.001.00
##00000011.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE41
Deuteranopia (green-blind)
#D9C455
Tritanopia (blue-blind)
#E0B7AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d1c44f;
/* rgb */ color: rgb(209, 196, 79);
/* oklch */ color: oklch(80.9% 0.137 103.0);
Tailwind
colors: {
  custom: {
    50: '#e2d585',
    500: '#d1c44f',
    950: '#000000',
  },
}
SCSS
$custom: #d1c44f;
$custom-light: #e2d585;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c44f",
  "rgb": {
    "r": 209,
    "g": 196,
    "b": 79
  },
  "hsl": {
    "h": 54,
    "s": 58.559,
    "l": 56.471
  },
  "oklch": {
    "l": 0.80905,
    "c": 0.13722,
    "h": 103
  },
  "luminance": 0.536
}

Semantic roles & 50–950 ramp

primary
#D1C44F
secondary
#3A428A
accent
#56E246
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1C44F

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

Preview Lab → · Contrast checker → · Palette generator →

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