#D2D55E#D2D55E

#D2D55E is a very light, vivid yellow. Relative luminance 0.621; OKLCH L 84.7% C 0.142 H 110.4°. Best body text is #000000 at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#D2D55E
RGBrgb(210, 213, 94)
HSLhsl(62, 59%, 60%)
HSVhsv(62, 56%, 84%)
CMYKcmyk(1.4%, 0%, 55.9%, 16.5%)
CIE-LABlab(82.97, -16.61, 57.30)
CIE-LCHlch(82.97, 59.65, 106.17°)
OKLaboklab(84.74% -0.0494 0.1328)
OKLCHoklch(84.74% 0.142 110.4)
XYZxyz(52.3943, 62.0995, 19.8139)
Luminance0.6210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D55E #615ED5
analogous
#D59D5E #D2D55E #96D55E
triadic
#D2D55E #5ED2D5 #D55ED2
tetradic
#D2D55E #5ED59D #615ED5 #D55E96
square
#D2D55E #5ED59D #615ED5 #D55E96
split-complementary
#D2D55E #5E96D5 #9D5ED5
monochromatic
#909226 #BFC333 #D2D55E #E0E28F #EDEEBF

Accessibility & contrast

On white

1.56
#D2D55E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.42
#D2D55E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D55E
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D55E#FFFFFF#000000##000000
##D2D55E1.001.5613.4213.42
#FFFFFF1.561.0021.0021.00
#00000013.4221.001.001.00
##00000013.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CD51
Deuteranopia (green-blind)
#E5D065
Tritanopia (blue-blind)
#DFC9BB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d2d55e;
/* rgb */ color: rgb(210, 213, 94);
/* oklch */ color: oklch(84.7% 0.142 110.4);
Tailwind
colors: {
  custom: {
    50: '#e2e190',
    500: '#d2d55e',
    950: '#000000',
  },
}
SCSS
$custom: #d2d55e;
$custom-light: #e2e190;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d55e",
  "rgb": {
    "r": 210,
    "g": 213,
    "b": 94
  },
  "hsl": {
    "h": 61.513,
    "s": 58.621,
    "l": 60.196
  },
  "oklch": {
    "l": 0.84741,
    "c": 0.14169,
    "h": 110.4
  },
  "luminance": 0.62098
}

Semantic roles & 50–950 ramp

primary
#D2D55E
secondary
#423F98
accent
#1FC623
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2D55E

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

Preview Lab → · Contrast checker → · Palette generator →

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