#D2D45D#D2D45D

#D2D45D 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#D2D45D
RGBrgb(210, 212, 93)
HSLhsl(61, 58%, 60%)
HSVhsv(61, 56%, 83%)
CMYKcmyk(0.9%, 0%, 56.1%, 16.9%)
CIE-LABlab(82.69, -16.19, 57.43)
CIE-LCHlch(82.69, 59.67, 105.74°)
OKLaboklab(84.52% -0.0483 0.133)
OKLCHoklch(84.52% 0.141 110)
XYZxyz(52.0990, 61.5802, 19.4955)
Luminance0.6158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D45D #5F5DD4
analogous
#D49A5D #D2D45D #97D45D
triadic
#D2D45D #5DD2D4 #D45DD2
tetradic
#D2D45D #5DD49A #5F5DD4 #D45D97
square
#D2D45D #5DD49A #5F5DD4 #D45D97
split-complementary
#D2D45D #5D97D4 #9A5DD4
monochromatic
#8F9026 #BEC133 #D2D45D #DFE18D #EDEEBE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2D45D#FFFFFF#000000##000000
##D2D45D1.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)
#E3CC50
Deuteranopia (green-blind)
#E4D064
Tritanopia (blue-blind)
#DFC8BA
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d2d45d;
/* rgb */ color: rgb(210, 212, 93);
/* oklch */ color: oklch(84.5% 0.141 110.0);
Tailwind
colors: {
  custom: {
    50: '#e2e18f',
    500: '#d2d45d',
    950: '#000000',
  },
}
SCSS
$custom: #d2d45d;
$custom-light: #e2e18f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d45d",
  "rgb": {
    "r": 210,
    "g": 212,
    "b": 93
  },
  "hsl": {
    "h": 61.008,
    "s": 58.049,
    "l": 59.804
  },
  "oklch": {
    "l": 0.84517,
    "c": 0.14147,
    "h": 110
  },
  "luminance": 0.61579
}

Semantic roles & 50–950 ramp

primary
#D2D45D
secondary
#413F96
accent
#47E149
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2D45D

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

Preview Lab → · Contrast checker → · Palette generator →

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