#D2D55D#D2D55D

#D2D55D is a very light, vivid yellow. Relative luminance 0.621; OKLCH L 84.7% C 0.143 H 110.4°. Best body text is #000000 at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#D2D55D
RGBrgb(210, 213, 93)
HSLhsl(62, 59%, 60%)
HSVhsv(62, 56%, 84%)
CMYKcmyk(1.4%, 0%, 56.3%, 16.5%)
CIE-LABlab(82.96, -16.68, 57.73)
CIE-LCHlch(82.96, 60.09, 106.12°)
OKLaboklab(84.73% -0.0497 0.1336)
OKLCHoklch(84.73% 0.143 110.4)
XYZxyz(52.3497, 62.0817, 19.5791)
Luminance0.6208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D55D #605DD5
analogous
#D59C5D #D2D55D #96D55D
triadic
#D2D55D #5DD2D5 #D55DD2
tetradic
#D2D55D #5DD59C #605DD5 #D55D96
square
#D2D55D #5DD59C #605DD5 #D55D96
split-complementary
#D2D55D #5D96D5 #9C5DD5
monochromatic
#8F9226 #BFC232 #D2D55D #E0E28E #EDEEBE

Accessibility & contrast

On white

1.57
#D2D55D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.42
#D2D55D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D55D
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D55D#FFFFFF#000000##000000
##D2D55D1.001.5713.4213.42
#FFFFFF1.571.0021.0021.00
#00000013.4221.001.001.00
##00000013.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CD50
Deuteranopia (green-blind)
#E5D064
Tritanopia (blue-blind)
#DFC9BB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d2d55d;
/* rgb */ color: rgb(210, 213, 93);
/* oklch */ color: oklch(84.7% 0.143 110.4);
Tailwind
colors: {
  custom: {
    50: '#e2e18f',
    500: '#d2d55d',
    950: '#000000',
  },
}
SCSS
$custom: #d2d55d;
$custom-light: #e2e18f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d55d",
  "rgb": {
    "r": 210,
    "g": 213,
    "b": 93
  },
  "hsl": {
    "h": 61.5,
    "s": 58.824,
    "l": 60
  },
  "oklch": {
    "l": 0.8473,
    "c": 0.14256,
    "h": 110.4
  },
  "luminance": 0.6208
}

Semantic roles & 50–950 ramp

primary
#D2D55D
secondary
#413F97
accent
#46E24A
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2D55D

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

Preview Lab → · Contrast checker → · Palette generator →

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