#D2C95C#D2C95C

#D2C95C is a very light, vivid yellow. Relative luminance 0.562; OKLCH L 82.2% C 0.131 H 104.6°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#D2C95C
RGBrgb(210, 201, 92)
HSLhsl(55, 57%, 59%)
HSVhsv(55, 56%, 82%)
CMYKcmyk(0%, 4.3%, 56.2%, 17.6%)
CIE-LABlab(79.76, -10.74, 54.57)
CIE-LCHlch(79.76, 55.61, 101.13°)
OKLaboklab(82.18% -0.0329 0.1267)
OKLCHoklch(82.18% 0.131 104.6)
XYZxyz(49.3983, 56.2493, 18.3782)
Luminance0.5625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C95C #5C65D2
analogous
#D28E5C #D2C95C #A0D25C
triadic
#D2C95C #5CD2C9 #C95CD2
tetradic
#D2C95C #5CD28E #5C65D2 #D25CA0
square
#D2C95C #5CD28E #5C65D2 #D25CA0
split-complementary
#D2C95C #5CA0D2 #8E5CD2
monochromatic
#8D8527 #BDB234 #D2C95C #DFD98C #ECE9BC

Accessibility & contrast

On white

1.71
#D2C95C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.25
#D2C95C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C95C
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C95C#FFFFFF#000000##000000
##D2C95C1.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C351
Deuteranopia (green-blind)
#DCC862
Tritanopia (blue-blind)
#E0BDB1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d2c95c;
/* rgb */ color: rgb(210, 201, 92);
/* oklch */ color: oklch(82.2% 0.131 104.6);
Tailwind
colors: {
  custom: {
    50: '#e2d98e',
    500: '#d2c95c',
    950: '#000000',
  },
}
SCSS
$custom: #d2c95c;
$custom-light: #e2d98e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c95c",
  "rgb": {
    "r": 210,
    "g": 201,
    "b": 92
  },
  "hsl": {
    "h": 55.424,
    "s": 56.731,
    "l": 59.216
  },
  "oklch": {
    "l": 0.82177,
    "c": 0.13092,
    "h": 104.6
  },
  "luminance": 0.56248
}

Semantic roles & 50–950 ramp

primary
#D2C95C
secondary
#3F4693
accent
#53E048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2C95C

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

Preview Lab → · Contrast checker → · Palette generator →

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