#D2D458#D2D458

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

Color values

HEX#D2D458
RGBrgb(210, 212, 88)
HSLhsl(61, 59%, 59%)
HSVhsv(61, 58%, 83%)
CMYKcmyk(0.9%, 0%, 58.5%, 16.9%)
CIE-LABlab(82.64, -16.55, 59.57)
CIE-LCHlch(82.64, 61.83, 105.53°)
OKLaboklab(84.47% -0.0499 0.1369)
OKLCHoklch(84.47% 0.146 110)
XYZxyz(51.8847, 61.4945, 18.3671)
Luminance0.6149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D458 #5A58D4
analogous
#D49858 #D2D458 #94D458
triadic
#D2D458 #58D2D4 #D458D2
tetradic
#D2D458 #58D498 #5A58D4 #D45894
square
#D2D458 #58D498 #5A58D4 #D45894
split-complementary
#D2D458 #5894D4 #9858D4
monochromatic
#8C8D24 #BCBE31 #D2D458 #DFE189 #ECEDB9

Accessibility & contrast

On white

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

On black

13.30
#D2D458 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D458
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D458#FFFFFF#000000##000000
##D2D4581.001.5813.3013.30
#FFFFFF1.581.0021.0021.00
#00000013.3021.001.001.00
##00000013.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CC4A
Deuteranopia (green-blind)
#E5D05F
Tritanopia (blue-blind)
#DFC8B9
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d2d458;
/* rgb */ color: rgb(210, 212, 88);
/* oklch */ color: oklch(84.5% 0.146 110.0);
Tailwind
colors: {
  custom: {
    50: '#e2e18c',
    500: '#d2d458',
    950: '#000000',
  },
}
SCSS
$custom: #d2d458;
$custom-light: #e2e18c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d458",
  "rgb": {
    "r": 210,
    "g": 212,
    "b": 88
  },
  "hsl": {
    "h": 60.968,
    "s": 59.048,
    "l": 58.824
  },
  "oklch": {
    "l": 0.84466,
    "c": 0.14572,
    "h": 110
  },
  "luminance": 0.61493
}

Semantic roles & 50–950 ramp

primary
#D2D458
secondary
#3E3D93
accent
#46E248
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D458

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

Preview Lab → · Contrast checker → · Palette generator →

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