#D2D75E#D2D75E

#D2D75E is a very light, vivid yellow. Relative luminance 0.631; OKLCH L 85.2% C 0.144 H 111.3°. Best body text is #000000 at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#D2D75E
RGBrgb(210, 215, 94)
HSLhsl(62, 60%, 61%)
HSVhsv(62, 56%, 84%)
CMYKcmyk(2.3%, 0%, 56.3%, 15.7%)
CIE-LABlab(83.50, -17.60, 57.90)
CIE-LCHlch(83.50, 60.51, 106.91°)
OKLaboklab(85.17% -0.0522 0.1341)
OKLCHoklch(85.17% 0.144 111.3)
XYZxyz(52.9005, 63.1118, 19.9826)
Luminance0.6311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D75E #635ED7
analogous
#D79F5E #D2D75E #96D75E
triadic
#D2D75E #5ED2D7 #D75ED2
tetradic
#D2D75E #5ED79F #635ED7 #D75E96
square
#D2D75E #5ED79F #635ED7 #D75E96
split-complementary
#D2D75E #5E96D7 #9F5ED7
monochromatic
#919525 #C0C631 #D2D75E #E0E38F #EDEFC0

Accessibility & contrast

On white

1.54
#D2D75E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.62
#D2D75E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D75E
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D75E#FFFFFF#000000##000000
##D2D75E1.001.5413.6213.62
#FFFFFF1.541.0021.0021.00
#00000013.6221.001.001.00
##00000013.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE51
Deuteranopia (green-blind)
#E7D265
Tritanopia (blue-blind)
#DFCBBD
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d2d75e;
/* rgb */ color: rgb(210, 215, 94);
/* oklch */ color: oklch(85.2% 0.144 111.3);
Tailwind
colors: {
  custom: {
    50: '#e2e390',
    500: '#d2d75e',
    950: '#000000',
  },
}
SCSS
$custom: #d2d75e;
$custom-light: #e2e390;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d75e",
  "rgb": {
    "r": 210,
    "g": 215,
    "b": 94
  },
  "hsl": {
    "h": 62.479,
    "s": 60.199,
    "l": 60.588
  },
  "oklch": {
    "l": 0.85168,
    "c": 0.14389,
    "h": 111.3
  },
  "luminance": 0.63111
}

Semantic roles & 50–950 ramp

primary
#D2D75E
secondary
#433F9A
accent
#1EC825
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2D75E

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

Preview Lab → · Contrast checker → · Palette generator →

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