#D1C552#D1C552

#D1C552 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 81.1% C 0.136 H 103.4°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#D1C552
RGBrgb(209, 197, 82)
HSLhsl(54, 58%, 57%)
HSVhsv(54, 61%, 82%)
CMYKcmyk(0%, 5.7%, 60.8%, 18%)
CIE-LABlab(78.52, -9.83, 57.63)
CIE-LCHlch(78.52, 58.46, 99.68°)
OKLaboklab(81.14% -0.0314 0.132)
OKLCHoklch(81.14% 0.136 103.4)
XYZxyz(47.7855, 54.0988, 15.9060)
Luminance0.5410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C552 #525ED1
analogous
#D18652 #D1C552 #9DD152
triadic
#D1C552 #52D1C5 #C552D1
tetradic
#D1C552 #52D186 #525ED1 #D1529D
square
#D1C552 #52D186 #525ED1 #D1529D
split-complementary
#D1C552 #529DD1 #8652D1
monochromatic
#857C23 #B6A930 #D1C552 #DED582 #EBE5B3

Accessibility & contrast

On white

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

On black

11.82
#D1C552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C552
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C552#FFFFFF#000000##000000
##D1C5521.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1c552;
/* rgb */ color: rgb(209, 197, 82);
/* oklch */ color: oklch(81.1% 0.136 103.4);
Tailwind
colors: {
  custom: {
    50: '#e2d687',
    500: '#d1c552',
    950: '#000000',
  },
}
SCSS
$custom: #d1c552;
$custom-light: #e2d687;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c552",
  "rgb": {
    "r": 209,
    "g": 197,
    "b": 82
  },
  "hsl": {
    "h": 54.331,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.81144,
    "c": 0.13571,
    "h": 103.4
  },
  "luminance": 0.54097
}

Semantic roles & 50–950 ramp

primary
#D1C552
secondary
#3B438C
accent
#55E147
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #D1C552

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

Preview Lab → · Contrast checker → · Palette generator →

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