#D2D658#D2D658

#D2D658 is a very light, vivid yellow. Relative luminance 0.625; OKLCH L 84.9% C 0.148 H 110.9°. Best body text is #000000 at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#D2D658
RGBrgb(210, 214, 88)
HSLhsl(62, 61%, 59%)
HSVhsv(62, 59%, 84%)
CMYKcmyk(1.9%, 0%, 58.9%, 16.1%)
CIE-LABlab(83.18, -17.54, 60.16)
CIE-LCHlch(83.18, 62.66, 106.26°)
OKLaboklab(84.89% -0.0527 0.1382)
OKLCHoklch(84.89% 0.148 110.9)
XYZxyz(52.3878, 62.5006, 18.5348)
Luminance0.6250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D658 #5C58D6
analogous
#D69B58 #D2D658 #93D658
triadic
#D2D658 #58D2D6 #D658D2
tetradic
#D2D658 #58D69B #5C58D6 #D65893
square
#D2D658 #58D69B #5C58D6 #D65893
split-complementary
#D2D658 #5893D6 #9B58D6
monochromatic
#8D9023 #BDC12F #D2D658 #DFE289 #ECEEBA

Accessibility & contrast

On white

1.56
#D2D658 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.50
#D2D658 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D658
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D658#FFFFFF#000000##000000
##D2D6581.001.5613.5013.50
#FFFFFF1.561.0021.0021.00
#00000013.5021.001.001.00
##00000013.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD4A
Deuteranopia (green-blind)
#E6D160
Tritanopia (blue-blind)
#DFCABB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d2d658;
/* rgb */ color: rgb(210, 214, 88);
/* oklch */ color: oklch(84.9% 0.148 110.9);
Tailwind
colors: {
  custom: {
    50: '#e2e28c',
    500: '#d2d658',
    950: '#000000',
  },
}
SCSS
$custom: #d2d658;
$custom-light: #e2e28c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d658",
  "rgb": {
    "r": 210,
    "g": 214,
    "b": 88
  },
  "hsl": {
    "h": 61.905,
    "s": 60.577,
    "l": 59.216
  },
  "oklch": {
    "l": 0.84893,
    "c": 0.14786,
    "h": 110.9
  },
  "luminance": 0.62499
}

Semantic roles & 50–950 ramp

primary
#D2D658
secondary
#3F3D96
accent
#44E449
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D658

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

Preview Lab → · Contrast checker → · Palette generator →

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