#D2C15D#D2C15D

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

Color values

HEX#D2C15D
RGBrgb(210, 193, 93)
HSLhsl(51, 57%, 59%)
HSVhsv(51, 56%, 82%)
CMYKcmyk(0%, 8.1%, 55.7%, 17.6%)
CIE-LABlab(77.66, -6.56, 51.70)
CIE-LCHlch(77.66, 52.12, 97.24°)
OKLaboklab(80.52% -0.0208 0.1207)
OKLCHoklch(80.52% 0.122 99.8)
XYZxyz(47.6258, 52.6338, 18.0044)
Luminance0.5263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C15D #5D6ED2
analogous
#D2875D #D2C15D #A9D25D
triadic
#D2C15D #5DD2C1 #C15DD2
tetradic
#D2C15D #5DD287 #5D6ED2 #D25DA9
square
#D2C15D #5DD287 #5D6ED2 #D25DA9
split-complementary
#D2C15D #5DA9D2 #875DD2
monochromatic
#8D7F27 #BDA935 #D2C15D #DFD38D #EDE6BD

Accessibility & contrast

On white

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

On black

11.53
#D2C15D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C15D
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C15D#FFFFFF#000000##000000
##D2C15D1.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BC53
Deuteranopia (green-blind)
#D6C362
Tritanopia (blue-blind)
#E0B5AB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d2c15d;
/* rgb */ color: rgb(210, 193, 93);
/* oklch */ color: oklch(80.5% 0.122 99.8);
Tailwind
colors: {
  custom: {
    50: '#e2d38e',
    500: '#d2c15d',
    950: '#000000',
  },
}
SCSS
$custom: #d2c15d;
$custom-light: #e2d38e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c15d",
  "rgb": {
    "r": 210,
    "g": 193,
    "b": 93
  },
  "hsl": {
    "h": 51.282,
    "s": 56.522,
    "l": 59.412
  },
  "oklch": {
    "l": 0.80515,
    "c": 0.12247,
    "h": 99.8
  },
  "luminance": 0.52632
}

Semantic roles & 50–950 ramp

primary
#D2C15D
secondary
#404C93
accent
#5EE048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2C15D

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

Preview Lab → · Contrast checker → · Palette generator →

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