#D2C15C#D2C15C

#D2C15C is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.5% C 0.123 H 99.9°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#D2C15C
RGBrgb(210, 193, 92)
HSLhsl(51, 57%, 59%)
HSVhsv(51, 56%, 82%)
CMYKcmyk(0%, 8.1%, 56.2%, 17.6%)
CIE-LABlab(77.65, -6.64, 52.16)
CIE-LCHlch(77.65, 52.58, 97.26°)
OKLaboklab(80.5% -0.0212 0.1216)
OKLCHoklch(80.5% 0.123 99.9)
XYZxyz(47.5818, 52.6162, 17.7727)
Luminance0.5261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C15C #5C6DD2
analogous
#D2865C #D2C15C #A8D25C
triadic
#D2C15C #5CD2C1 #C15CD2
tetradic
#D2C15C #5CD286 #5C6DD2 #D25CA8
square
#D2C15C #5CD286 #5C6DD2 #D25CA8
split-complementary
#D2C15C #5CA8D2 #865CD2
monochromatic
#8D7E27 #BDA934 #D2C15C #DFD38C #ECE5BC

Accessibility & contrast

On white

1.82
#D2C15C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.52
#D2C15C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C15C
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C15C#FFFFFF#000000##000000
##D2C15C1.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BC52
Deuteranopia (green-blind)
#D6C361
Tritanopia (blue-blind)
#E0B5AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d2c15c;
/* rgb */ color: rgb(210, 193, 92);
/* oklch */ color: oklch(80.5% 0.123 99.9);
Tailwind
colors: {
  custom: {
    50: '#e2d38d',
    500: '#d2c15c',
    950: '#000000',
  },
}
SCSS
$custom: #d2c15c;
$custom-light: #e2d38d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c15c",
  "rgb": {
    "r": 210,
    "g": 193,
    "b": 92
  },
  "hsl": {
    "h": 51.356,
    "s": 56.731,
    "l": 59.216
  },
  "oklch": {
    "l": 0.80504,
    "c": 0.12338,
    "h": 99.9
  },
  "luminance": 0.52614
}

Semantic roles & 50–950 ramp

primary
#D2C15C
secondary
#3F4B93
accent
#5EE048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2C15C

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

Preview Lab → · Contrast checker → · Palette generator →

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