#D2D55F#D2D55F

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

Color values

HEX#D2D55F
RGBrgb(210, 213, 95)
HSLhsl(62, 58%, 60%)
HSVhsv(62, 55%, 84%)
CMYKcmyk(1.4%, 0%, 55.4%, 16.5%)
CIE-LABlab(82.98, -16.53, 56.86)
CIE-LCHlch(82.98, 59.22, 106.21°)
OKLaboklab(84.75% -0.0491 0.132)
OKLCHoklch(84.75% 0.141 110.4)
XYZxyz(52.4395, 62.1176, 20.0518)
Luminance0.6212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D55F #625FD5
analogous
#D59D5F #D2D55F #97D55F
triadic
#D2D55F #5FD2D5 #D55FD2
tetradic
#D2D55F #5FD59D #625FD5 #D55F97
square
#D2D55F #5FD59D #625FD5 #D55F97
split-complementary
#D2D55F #5F97D5 #9D5FD5
monochromatic
#909327 #C0C333 #D2D55F #E0E28F #EDEEC0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2D55F#FFFFFF#000000##000000
##D2D55F1.001.5613.4213.42
#FFFFFF1.561.0021.0021.00
#00000013.4221.001.001.00
##00000013.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2d55f;
/* rgb */ color: rgb(210, 213, 95);
/* oklch */ color: oklch(84.8% 0.141 110.4);
Tailwind
colors: {
  custom: {
    50: '#e2e190',
    500: '#d2d55f',
    950: '#000000',
  },
}
SCSS
$custom: #d2d55f;
$custom-light: #e2e190;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d55f",
  "rgb": {
    "r": 210,
    "g": 213,
    "b": 95
  },
  "hsl": {
    "h": 61.525,
    "s": 58.416,
    "l": 60.392
  },
  "oklch": {
    "l": 0.84752,
    "c": 0.14081,
    "h": 110.4
  },
  "luminance": 0.62116
}

Semantic roles & 50–950 ramp

primary
#D2D55F
secondary
#424098
accent
#1FC624
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2D55F

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

Preview Lab → · Contrast checker → · Palette generator →

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