#D2D457#D2D457

#D2D457 is a very light, vivid yellow. Relative luminance 0.615; OKLCH L 84.5% C 0.147 H 110.0°. Best body text is #000000 at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#D2D457
RGBrgb(210, 212, 87)
HSLhsl(61, 59%, 59%)
HSVhsv(61, 59%, 83%)
CMYKcmyk(0.9%, 0%, 59%, 16.9%)
CIE-LABlab(82.64, -16.62, 59.99)
CIE-LCHlch(82.64, 62.25, 105.49°)
OKLaboklab(84.46% -0.0502 0.1377)
OKLCHoklch(84.46% 0.147 110)
XYZxyz(51.8436, 61.4780, 18.1504)
Luminance0.6148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D457 #5957D4
analogous
#D49757 #D2D457 #93D457
triadic
#D2D457 #57D2D4 #D457D2
tetradic
#D2D457 #57D497 #5957D4 #D45793
square
#D2D457 #57D497 #5957D4 #D45793
split-complementary
#D2D457 #5793D4 #9757D4
monochromatic
#8B8D24 #BBBD30 #D2D457 #DFE088 #ECEDB8

Accessibility & contrast

On white

1.58
#D2D457 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.30
#D2D457 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D457
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D457#FFFFFF#000000##000000
##D2D4571.001.5813.3013.30
#FFFFFF1.581.0021.0021.00
#00000013.3021.001.001.00
##00000013.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CC49
Deuteranopia (green-blind)
#E5D05E
Tritanopia (blue-blind)
#DFC8B9
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d2d457;
/* rgb */ color: rgb(210, 212, 87);
/* oklch */ color: oklch(84.5% 0.147 110.0);
Tailwind
colors: {
  custom: {
    50: '#e2e18b',
    500: '#d2d457',
    950: '#000000',
  },
}
SCSS
$custom: #d2d457;
$custom-light: #e2e18b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d457",
  "rgb": {
    "r": 210,
    "g": 212,
    "b": 87
  },
  "hsl": {
    "h": 60.96,
    "s": 59.242,
    "l": 58.627
  },
  "oklch": {
    "l": 0.84456,
    "c": 0.14654,
    "h": 110
  },
  "luminance": 0.61477
}

Semantic roles & 50–950 ramp

primary
#D2D457
secondary
#3E3D93
accent
#45E248
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D457

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

Preview Lab → · Contrast checker → · Palette generator →

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