#D2D45E#D2D45E

#D2D45E is a very light, vivid yellow. Relative luminance 0.616; OKLCH L 84.5% C 0.141 H 110.0°. Best body text is #000000 at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#D2D45E
RGBrgb(210, 212, 94)
HSLhsl(61, 58%, 60%)
HSVhsv(61, 56%, 83%)
CMYKcmyk(0.9%, 0%, 55.7%, 16.9%)
CIE-LABlab(82.70, -16.11, 56.99)
CIE-LCHlch(82.70, 59.23, 105.79°)
OKLaboklab(84.53% -0.048 0.1322)
OKLCHoklch(84.53% 0.141 110)
XYZxyz(52.1436, 61.5980, 19.7303)
Luminance0.6160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D45E #605ED4
analogous
#D49B5E #D2D45E #97D45E
triadic
#D2D45E #5ED2D4 #D45ED2
tetradic
#D2D45E #5ED49B #605ED4 #D45E97
square
#D2D45E #5ED49B #605ED4 #D45E97
split-complementary
#D2D45E #5E97D4 #9B5ED4
monochromatic
#8F9127 #BFC134 #D2D45E #DFE18E #EDEEBF

Accessibility & contrast

On white

1.58
#D2D45E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.32
#D2D45E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D45E
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D45E#FFFFFF#000000##000000
##D2D45E1.001.5813.3213.32
#FFFFFF1.581.0021.0021.00
#00000013.3221.001.001.00
##00000013.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CC52
Deuteranopia (green-blind)
#E4D065
Tritanopia (blue-blind)
#DFC8BA
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d2d45e;
/* rgb */ color: rgb(210, 212, 94);
/* oklch */ color: oklch(84.5% 0.141 110.0);
Tailwind
colors: {
  custom: {
    50: '#e2e190',
    500: '#d2d45e',
    950: '#000000',
  },
}
SCSS
$custom: #d2d45e;
$custom-light: #e2e190;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d45e",
  "rgb": {
    "r": 210,
    "g": 212,
    "b": 94
  },
  "hsl": {
    "h": 61.017,
    "s": 57.843,
    "l": 60
  },
  "oklch": {
    "l": 0.84528,
    "c": 0.1406,
    "h": 110
  },
  "luminance": 0.61597
}

Semantic roles & 50–950 ramp

primary
#D2D45E
secondary
#414096
accent
#47E149
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2D45E

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

Preview Lab → · Contrast checker → · Palette generator →

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