#D2D35E#D2D35E

#D2D35E is a very light, vivid yellow. Relative luminance 0.611; OKLCH L 84.3% C 0.140 H 109.5°. Best body text is #000000 at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#D2D35E
RGBrgb(210, 211, 94)
HSLhsl(61, 57%, 60%)
HSVhsv(61, 55%, 83%)
CMYKcmyk(0.5%, 0%, 55.5%, 17.3%)
CIE-LABlab(82.43, -15.62, 56.69)
CIE-LCHlch(82.43, 58.80, 105.40°)
OKLaboklab(84.32% -0.0466 0.1315)
OKLCHoklch(84.32% 0.14 109.5)
XYZxyz(51.8944, 61.0996, 19.6472)
Luminance0.6110 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D35E #5F5ED3
analogous
#D39A5E #D2D35E #97D35E
triadic
#D2D35E #5ED2D3 #D35ED2
tetradic
#D2D35E #5ED39A #5F5ED3 #D35E97
square
#D2D35E #5ED39A #5F5ED3 #D35E97
split-complementary
#D2D35E #5E97D3 #9A5ED3
monochromatic
#8F8F27 #BEBF34 #D2D35E #DFE08E #EDEDBE

Accessibility & contrast

On white

1.59
#D2D35E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.22
#D2D35E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D35E
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D35E#FFFFFF#000000##000000
##D2D35E1.001.5913.2213.22
#FFFFFF1.591.0021.0021.00
#00000013.2221.001.001.00
##00000013.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CB52
Deuteranopia (green-blind)
#E3CF65
Tritanopia (blue-blind)
#DFC7B9
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d2d35e;
/* rgb */ color: rgb(210, 211, 94);
/* oklch */ color: oklch(84.3% 0.140 109.5);
Tailwind
colors: {
  custom: {
    50: '#e2e08f',
    500: '#d2d35e',
    950: '#000000',
  },
}
SCSS
$custom: #d2d35e;
$custom-light: #e2e08f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d35e",
  "rgb": {
    "r": 210,
    "g": 211,
    "b": 94
  },
  "hsl": {
    "h": 60.513,
    "s": 57.073,
    "l": 59.804
  },
  "oklch": {
    "l": 0.84315,
    "c": 0.13952,
    "h": 109.5
  },
  "luminance": 0.61098
}

Semantic roles & 50–950 ramp

primary
#D2D35E
secondary
#414095
accent
#47E049
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2D35E

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

Preview Lab → · Contrast checker → · Palette generator →

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