#D2D057#D2D057

#D2D057 is a very light, vivid yellow. Relative luminance 0.595; OKLCH L 83.6% C 0.142 H 108.2°. Best body text is #000000 at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#D2D057
RGBrgb(210, 208, 87)
HSLhsl(59, 58%, 58%)
HSVhsv(59, 59%, 82%)
CMYKcmyk(0%, 1%, 58.6%, 17.6%)
CIE-LABlab(81.57, -14.63, 58.82)
CIE-LCHlch(81.57, 60.61, 103.97°)
OKLaboklab(83.6% -0.0445 0.1352)
OKLCHoklch(83.6% 0.142 108.2)
XYZxyz(50.8560, 59.5030, 17.8213)
Luminance0.5950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D057 #5759D2
analogous
#D29257 #D2D057 #97D257
triadic
#D2D057 #57D2D0 #D057D2
tetradic
#D2D057 #57D292 #5759D2 #D25797
square
#D2D057 #57D292 #5759D2 #D25797
split-complementary
#D2D057 #5797D2 #9257D2
monochromatic
#8A8825 #BAB832 #D2D057 #DFDE87 #ECEBB8

Accessibility & contrast

On white

1.63
#D2D057 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.90
#D2D057 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D057
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D057#FFFFFF#000000##000000
##D2D0571.001.6312.9012.90
#FFFFFF1.631.0021.0021.00
#00000012.9021.001.001.00
##00000012.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C849
Deuteranopia (green-blind)
#E2CD5E
Tritanopia (blue-blind)
#E0C4B6
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d2d057;
/* rgb */ color: rgb(210, 208, 87);
/* oklch */ color: oklch(83.6% 0.142 108.2);
Tailwind
colors: {
  custom: {
    50: '#e2de8b',
    500: '#d2d057',
    950: '#000000',
  },
}
SCSS
$custom: #d2d057;
$custom-light: #e2de8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d057",
  "rgb": {
    "r": 210,
    "g": 208,
    "b": 87
  },
  "hsl": {
    "h": 59.024,
    "s": 57.746,
    "l": 58.235
  },
  "oklch": {
    "l": 0.83604,
    "c": 0.14234,
    "h": 108.2
  },
  "luminance": 0.59502
}

Semantic roles & 50–950 ramp

primary
#D2D057
secondary
#3D3E90
accent
#49E147
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D057

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

Preview Lab → · Contrast checker → · Palette generator →

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