#D1C54D#D1C54D

#D1C54D is a light, vivid yellow. Relative luminance 0.540; OKLCH L 81.1% C 0.140 H 103.6°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#D1C54D
RGBrgb(209, 197, 77)
HSLhsl(55, 59%, 56%)
HSVhsv(55, 63%, 82%)
CMYKcmyk(0%, 5.7%, 63.2%, 18%)
CIE-LABlab(78.48, -10.16, 59.73)
CIE-LCHlch(78.48, 60.59, 99.65°)
OKLaboklab(81.1% -0.0329 0.1358)
OKLCHoklch(81.1% 0.14 103.6)
XYZxyz(47.6021, 54.0254, 14.9402)
Luminance0.5402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C54D #4D59D1
analogous
#D1834D #D1C54D #9BD14D
triadic
#D1C54D #4DD1C5 #C54DD1
tetradic
#D1C54D #4DD183 #4D59D1 #D14D9B
square
#D1C54D #4DD183 #4D59D1 #D14D9B
split-complementary
#D1C54D #4D9BD1 #834DD1
monochromatic
#827922 #B3A72E #D1C54D #DED57E #EAE5AE

Accessibility & contrast

On white

1.78
#D1C54D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.80
#D1C54D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C54D
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C54D#FFFFFF#000000##000000
##D1C54D1.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF3E
Deuteranopia (green-blind)
#DAC554
Tritanopia (blue-blind)
#E0B8AC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d1c54d;
/* rgb */ color: rgb(209, 197, 77);
/* oklch */ color: oklch(81.1% 0.140 103.6);
Tailwind
colors: {
  custom: {
    50: '#e2d684',
    500: '#d1c54d',
    950: '#000000',
  },
}
SCSS
$custom: #d1c54d;
$custom-light: #e2d684;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c54d",
  "rgb": {
    "r": 209,
    "g": 197,
    "b": 77
  },
  "hsl": {
    "h": 54.545,
    "s": 58.929,
    "l": 56.078
  },
  "oklch": {
    "l": 0.81096,
    "c": 0.13971,
    "h": 103.6
  },
  "luminance": 0.54024
}

Semantic roles & 50–950 ramp

primary
#D1C54D
secondary
#394089
accent
#54E246
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1C54D

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

Preview Lab → · Contrast checker → · Palette generator →

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