#D2C95D#D2C95D

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

Color values

HEX#D2C95D
RGBrgb(210, 201, 93)
HSLhsl(55, 57%, 59%)
HSVhsv(55, 56%, 82%)
CMYKcmyk(0%, 4.3%, 55.7%, 17.6%)
CIE-LABlab(79.77, -10.66, 54.12)
CIE-LCHlch(79.77, 55.16, 101.14°)
OKLaboklab(82.19% -0.0326 0.1259)
OKLCHoklch(82.19% 0.13 104.5)
XYZxyz(49.4423, 56.2669, 18.6100)
Luminance0.5626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C95D #5D66D2
analogous
#D28F5D #D2C95D #A0D25D
triadic
#D2C95D #5DD2C9 #C95DD2
tetradic
#D2C95D #5DD28F #5D66D2 #D25DA0
square
#D2C95D #5DD28F #5D66D2 #D25DA0
split-complementary
#D2C95D #5DA0D2 #8F5DD2
monochromatic
#8D8527 #BDB335 #D2C95D #DFD98D #EDE9BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2C95D#FFFFFF#000000##000000
##D2C95D1.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)
#D9C352
Deuteranopia (green-blind)
#DCC863
Tritanopia (blue-blind)
#E0BDB1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d2c95d;
/* rgb */ color: rgb(210, 201, 93);
/* oklch */ color: oklch(82.2% 0.130 104.5);
Tailwind
colors: {
  custom: {
    50: '#e2d98e',
    500: '#d2c95d',
    950: '#000000',
  },
}
SCSS
$custom: #d2c95d;
$custom-light: #e2d98e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c95d",
  "rgb": {
    "r": 210,
    "g": 201,
    "b": 93
  },
  "hsl": {
    "h": 55.385,
    "s": 56.522,
    "l": 59.412
  },
  "oklch": {
    "l": 0.82188,
    "c": 0.13003,
    "h": 104.5
  },
  "luminance": 0.56265
}

Semantic roles & 50–950 ramp

primary
#D2C95D
secondary
#404693
accent
#54E048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D2C95D

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

Preview Lab → · Contrast checker → · Palette generator →

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