#D2D05E#D2D05E

#D2D05E is a very light, vivid yellow. Relative luminance 0.596; OKLCH L 83.7% C 0.136 H 108.1°. Best body text is #000000 at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#D2D05E
RGBrgb(210, 208, 94)
HSLhsl(59, 56%, 60%)
HSVhsv(59, 55%, 82%)
CMYKcmyk(0%, 1%, 55.2%, 17.6%)
CIE-LABlab(81.63, -14.12, 55.79)
CIE-LCHlch(81.63, 57.55, 104.20°)
OKLaboklab(83.68% -0.0423 0.1296)
OKLCHoklch(83.68% 0.136 108.1)
XYZxyz(51.1560, 59.6229, 19.4011)
Luminance0.5962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D05E #5E60D2
analogous
#D2965E #D2D05E #9AD25E
triadic
#D2D05E #5ED2D0 #D05ED2
tetradic
#D2D05E #5ED296 #5E60D2 #D25E9A
square
#D2D05E #5ED296 #5E60D2 #D25E9A
split-complementary
#D2D05E #5E9AD2 #965ED2
monochromatic
#8E8C28 #BEBB35 #D2D05E #DFDE8E #EDECBE

Accessibility & contrast

On white

1.62
#D2D05E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.92
#D2D05E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D05E
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D05E#FFFFFF#000000##000000
##D2D05E1.001.6212.9212.92
#FFFFFF1.621.0021.0021.00
#00000012.9221.001.001.00
##00000012.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC952
Deuteranopia (green-blind)
#E1CD64
Tritanopia (blue-blind)
#DFC4B7
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d2d05e;
/* rgb */ color: rgb(210, 208, 94);
/* oklch */ color: oklch(83.7% 0.136 108.1);
Tailwind
colors: {
  custom: {
    50: '#e2de8f',
    500: '#d2d05e',
    950: '#000000',
  },
}
SCSS
$custom: #d2d05e;
$custom-light: #e2de8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d05e",
  "rgb": {
    "r": 210,
    "g": 208,
    "b": 94
  },
  "hsl": {
    "h": 58.966,
    "s": 56.311,
    "l": 59.608
  },
  "oklch": {
    "l": 0.83678,
    "c": 0.13631,
    "h": 108.1
  },
  "luminance": 0.59622
}

Semantic roles & 50–950 ramp

primary
#D2D05E
secondary
#404294
accent
#4BE048
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2D05E

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

Preview Lab → · Contrast checker → · Palette generator →

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