#D2CD58#D2CD58

#D2CD58 is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 83.0% C 0.138 H 106.8°. Best body text is #000000 at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#D2CD58
RGBrgb(210, 205, 88)
HSLhsl(58, 58%, 58%)
HSVhsv(58, 58%, 82%)
CMYKcmyk(0%, 2.4%, 58.1%, 17.6%)
CIE-LABlab(80.78, -13.05, 57.51)
CIE-LCHlch(80.78, 58.97, 102.79°)
OKLaboklab(82.98% -0.0399 0.1325)
OKLCHoklch(82.98% 0.138 106.8)
XYZxyz(50.1727, 58.0704, 17.7964)
Luminance0.5807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD58 #585DD2
analogous
#D29058 #D2CD58 #9AD258
triadic
#D2CD58 #58D2CD #CD58D2
tetradic
#D2CD58 #58D290 #585DD2 #D2589A
square
#D2CD58 #58D290 #585DD2 #D2589A
split-complementary
#D2CD58 #589AD2 #9058D2
monochromatic
#8A8625 #BBB532 #D2CD58 #DFDB88 #ECEAB8

Accessibility & contrast

On white

1.66
#D2CD58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.61
#D2CD58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD58
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD58#FFFFFF#000000##000000
##D2CD581.001.6612.6112.61
#FFFFFF1.661.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC64B
Deuteranopia (green-blind)
#DFCB5E
Tritanopia (blue-blind)
#E0C1B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d2cd58;
/* rgb */ color: rgb(210, 205, 88);
/* oklch */ color: oklch(83.0% 0.138 106.8);
Tailwind
colors: {
  custom: {
    50: '#e2dc8b',
    500: '#d2cd58',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd58;
$custom-light: #e2dc8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd58",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 88
  },
  "hsl": {
    "h": 57.541,
    "s": 57.547,
    "l": 58.431
  },
  "oklch": {
    "l": 0.82978,
    "c": 0.13842,
    "h": 106.8
  },
  "luminance": 0.58069
}

Semantic roles & 50–950 ramp

primary
#D2CD58
secondary
#3E4191
accent
#4DE147
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2CD58

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

Preview Lab → · Contrast checker → · Palette generator →

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