#D2CD5F#D2CD5F

#D2CD5F is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 83.1% C 0.132 H 106.6°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#D2CD5F
RGBrgb(210, 205, 95)
HSLhsl(57, 56%, 60%)
HSVhsv(57, 55%, 82%)
CMYKcmyk(0%, 2.4%, 54.8%, 17.6%)
CIE-LABlab(80.85, -12.53, 54.44)
CIE-LCHlch(80.85, 55.86, 102.96°)
OKLaboklab(83.05% -0.0377 0.1268)
OKLCHoklch(83.05% 0.132 106.6)
XYZxyz(50.4767, 58.1920, 19.3975)
Luminance0.5819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD5F #5F64D2
analogous
#D2935F #D2CD5F #9ED25F
triadic
#D2CD5F #5FD2CD #CD5FD2
tetradic
#D2CD5F #5FD293 #5F64D2 #D25F9E
square
#D2CD5F #5FD293 #5F64D2 #D25F9E
split-complementary
#D2CD5F #5F9ED2 #935FD2
monochromatic
#8F8A28 #BEB836 #D2CD5F #DFDC8F #EDEBBF

Accessibility & contrast

On white

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

On black

12.64
#D2CD5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD5F
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD5F#FFFFFF#000000##000000
##D2CD5F1.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC654
Deuteranopia (green-blind)
#DFCB65
Tritanopia (blue-blind)
#E0C1B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d2cd5f;
/* rgb */ color: rgb(210, 205, 95);
/* oklch */ color: oklch(83.1% 0.132 106.6);
Tailwind
colors: {
  custom: {
    50: '#e2dc90',
    500: '#d2cd5f',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd5f;
$custom-light: #e2dc90;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd5f",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 95
  },
  "hsl": {
    "h": 57.391,
    "s": 56.098,
    "l": 59.804
  },
  "oklch": {
    "l": 0.83054,
    "c": 0.13228,
    "h": 106.6
  },
  "luminance": 0.58191
}

Semantic roles & 50–950 ramp

primary
#D2CD5F
secondary
#414494
accent
#4FDF48
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2CD5F

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

Preview Lab → · Contrast checker → · Palette generator →

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