#D2CC58#D2CC58

#D2CC58 is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 82.8% C 0.137 H 106.3°. Best body text is #000000 at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#D2CC58
RGBrgb(210, 204, 88)
HSLhsl(57, 58%, 58%)
HSVhsv(57, 58%, 82%)
CMYKcmyk(0%, 2.9%, 58.1%, 17.6%)
CIE-LABlab(80.51, -12.55, 57.21)
CIE-LCHlch(80.51, 58.57, 102.37°)
OKLaboklab(82.77% -0.0385 0.1319)
OKLCHoklch(82.77% 0.137 106.3)
XYZxyz(49.9342, 57.5935, 17.7169)
Luminance0.5759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CC58 #585ED2
analogous
#D28F58 #D2CC58 #9BD258
triadic
#D2CC58 #58D2CC #CC58D2
tetradic
#D2CC58 #58D28F #585ED2 #D2589B
square
#D2CC58 #58D28F #585ED2 #D2589B
split-complementary
#D2CC58 #589BD2 #8F58D2
monochromatic
#8A8525 #BBB432 #D2CC58 #DFDB88 #ECE9B8

Accessibility & contrast

On white

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

On black

12.52
#D2CC58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CC58
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CC58#FFFFFF#000000##000000
##D2CC581.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2cc58;
/* rgb */ color: rgb(210, 204, 88);
/* oklch */ color: oklch(82.8% 0.137 106.3);
Tailwind
colors: {
  custom: {
    50: '#e2db8b',
    500: '#d2cc58',
    950: '#000000',
  },
}
SCSS
$custom: #d2cc58;
$custom-light: #e2db8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cc58",
  "rgb": {
    "r": 210,
    "g": 204,
    "b": 88
  },
  "hsl": {
    "h": 57.049,
    "s": 57.547,
    "l": 58.431
  },
  "oklch": {
    "l": 0.82767,
    "c": 0.13741,
    "h": 106.3
  },
  "luminance": 0.57592
}

Semantic roles & 50–950 ramp

primary
#D2CC58
secondary
#3E4291
accent
#4FE147
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2CC58

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

Preview Lab → · Contrast checker → · Palette generator →

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