#D2D358#D2D358

#D2D358 is a very light, vivid yellow. Relative luminance 0.610; OKLCH L 84.3% C 0.145 H 109.6°. Best body text is #000000 at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#D2D358
RGBrgb(210, 211, 88)
HSLhsl(60, 58%, 59%)
HSVhsv(60, 58%, 83%)
CMYKcmyk(0.5%, 0%, 58.3%, 17.3%)
CIE-LABlab(82.38, -16.06, 59.27)
CIE-LCHlch(82.38, 61.41, 105.16°)
OKLaboklab(84.25% -0.0485 0.1363)
OKLCHoklch(84.25% 0.145 109.6)
XYZxyz(51.6355, 60.9961, 18.2840)
Luminance0.6099 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D358 #5958D3
analogous
#D39658 #D2D358 #94D358
triadic
#D2D358 #58D2D3 #D358D2
tetradic
#D2D358 #58D396 #5958D3 #D35894
square
#D2D358 #58D396 #5958D3 #D35894
split-complementary
#D2D358 #5894D3 #9658D3
monochromatic
#8B8C25 #BBBC32 #D2D358 #DFE088 #ECEDB9

Accessibility & contrast

On white

1.59
#D2D358 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.20
#D2D358 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D358
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D358#FFFFFF#000000##000000
##D2D3581.001.5913.2013.20
#FFFFFF1.591.0021.0021.00
#00000013.2021.001.001.00
##00000013.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CB4A
Deuteranopia (green-blind)
#E4CF5F
Tritanopia (blue-blind)
#E0C7B9
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d2d358;
/* rgb */ color: rgb(210, 211, 88);
/* oklch */ color: oklch(84.3% 0.145 109.6);
Tailwind
colors: {
  custom: {
    50: '#e2e08c',
    500: '#d2d358',
    950: '#000000',
  },
}
SCSS
$custom: #d2d358;
$custom-light: #e2e08c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d358",
  "rgb": {
    "r": 210,
    "g": 211,
    "b": 88
  },
  "hsl": {
    "h": 60.488,
    "s": 58.294,
    "l": 58.627
  },
  "oklch": {
    "l": 0.84253,
    "c": 0.14465,
    "h": 109.6
  },
  "luminance": 0.60995
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2D358

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

Preview Lab → · Contrast checker → · Palette generator →

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