#D1CC58#D1CC58

#D1CC58 is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 82.7% C 0.138 H 106.7°. Best body text is #000000 at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#D1CC58
RGBrgb(209, 204, 88)
HSLhsl(58, 57%, 58%)
HSVhsv(58, 58%, 82%)
CMYKcmyk(0%, 2.4%, 57.9%, 18%)
CIE-LABlab(80.43, -12.96, 57.10)
CIE-LCHlch(80.43, 58.55, 102.79°)
OKLaboklab(82.68% -0.0396 0.1317)
OKLCHoklch(82.68% 0.138 106.7)
XYZxyz(49.6504, 57.4471, 17.7036)
Luminance0.5745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CC58 #585DD1
analogous
#D18F58 #D1CC58 #99D158
triadic
#D1CC58 #58D1CC #CC58D1
tetradic
#D1CC58 #58D18F #585DD1 #D15899
square
#D1CC58 #58D18F #585DD1 #D15899
split-complementary
#D1CC58 #5899D1 #8F58D1
monochromatic
#898526 #B9B333 #D1CC58 #DEDB88 #EBE9B8

Accessibility & contrast

On white

1.68
#D1CC58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.49
#D1CC58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CC58
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CC58#FFFFFF#000000##000000
##D1CC581.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC54B
Deuteranopia (green-blind)
#DECA5E
Tritanopia (blue-blind)
#DFC0B3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d1cc58;
/* rgb */ color: rgb(209, 204, 88);
/* oklch */ color: oklch(82.7% 0.138 106.7);
Tailwind
colors: {
  custom: {
    50: '#e2db8b',
    500: '#d1cc58',
    950: '#000000',
  },
}
SCSS
$custom: #d1cc58;
$custom-light: #e2db8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cc58",
  "rgb": {
    "r": 209,
    "g": 204,
    "b": 88
  },
  "hsl": {
    "h": 57.521,
    "s": 56.808,
    "l": 58.235
  },
  "oklch": {
    "l": 0.82682,
    "c": 0.13751,
    "h": 106.7
  },
  "luminance": 0.57446
}

Semantic roles & 50–950 ramp

primary
#D1CC58
secondary
#3E418F
accent
#4EE048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D1CC58

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

Preview Lab → · Contrast checker → · Palette generator →

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