#D2C95E#D2C95E

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

Color values

HEX#D2C95E
RGBrgb(210, 201, 94)
HSLhsl(55, 56%, 60%)
HSVhsv(55, 55%, 82%)
CMYKcmyk(0%, 4.3%, 55.2%, 17.6%)
CIE-LABlab(79.78, -10.58, 53.67)
CIE-LCHlch(79.78, 54.71, 101.16°)
OKLaboklab(82.2% -0.0322 0.125)
OKLCHoklch(82.2% 0.129 104.5)
XYZxyz(49.4869, 56.2847, 18.8448)
Luminance0.5628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C95E #5E67D2
analogous
#D28F5E #D2C95E #A1D25E
triadic
#D2C95E #5ED2C9 #C95ED2
tetradic
#D2C95E #5ED28F #5E67D2 #D25EA1
square
#D2C95E #5ED28F #5E67D2 #D25EA1
split-complementary
#D2C95E #5EA1D2 #8F5ED2
monochromatic
#8E8628 #BEB335 #D2C95E #DFD98E #EDE9BE

Accessibility & contrast

On white

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

On black

12.26
#D2C95E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C95E
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C95E#FFFFFF#000000##000000
##D2C95E1.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2c95e;
/* rgb */ color: rgb(210, 201, 94);
/* oklch */ color: oklch(82.2% 0.129 104.5);
Tailwind
colors: {
  custom: {
    50: '#e2d98f',
    500: '#d2c95e',
    950: '#000000',
  },
}
SCSS
$custom: #d2c95e;
$custom-light: #e2d98f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c95e",
  "rgb": {
    "r": 210,
    "g": 201,
    "b": 94
  },
  "hsl": {
    "h": 55.345,
    "s": 56.311,
    "l": 59.608
  },
  "oklch": {
    "l": 0.82199,
    "c": 0.12912,
    "h": 104.5
  },
  "luminance": 0.56283
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2C95E

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

Preview Lab → · Contrast checker → · Palette generator →

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