#D2D257#D2D257

#D2D257 is a very light, vivid yellow. Relative luminance 0.605; OKLCH L 84.0% C 0.144 H 109.1°. Best body text is #000000 at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#D2D257
RGBrgb(210, 210, 87)
HSLhsl(60, 58%, 58%)
HSVhsv(60, 59%, 82%)
CMYKcmyk(0%, 0%, 58.6%, 17.6%)
CIE-LABlab(82.10, -15.63, 59.40)
CIE-LCHlch(82.10, 61.43, 104.74°)
OKLaboklab(84.03% -0.0474 0.1364)
OKLCHoklch(84.03% 0.144 109.1)
XYZxyz(51.3467, 60.4843, 17.9848)
Luminance0.6048 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D257 #5757D2
analogous
#D29457 #D2D257 #94D257
triadic
#D2D257 #57D2D2 #D257D2
tetradic
#D2D257 #57D294 #5757D2 #D25794
square
#D2D257 #57D294 #5757D2 #D25794
split-complementary
#D2D257 #5794D2 #9457D2
monochromatic
#8A8A25 #BABA32 #D2D257 #DFDF87 #ECECB8

Accessibility & contrast

On white

1.60
#D2D257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.10
#D2D257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D257
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D257#FFFFFF#000000##000000
##D2D2571.001.6013.1013.10
#FFFFFF1.601.0021.0021.00
#00000013.1021.001.001.00
##00000013.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA49
Deuteranopia (green-blind)
#E3CE5E
Tritanopia (blue-blind)
#E0C6B8
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d2d257;
/* rgb */ color: rgb(210, 210, 87);
/* oklch */ color: oklch(84.0% 0.144 109.1);
Tailwind
colors: {
  custom: {
    50: '#e2df8b',
    500: '#d2d257',
    950: '#000000',
  },
}
SCSS
$custom: #d2d257;
$custom-light: #e2df8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d257",
  "rgb": {
    "r": 210,
    "g": 210,
    "b": 87
  },
  "hsl": {
    "h": 60,
    "s": 57.746,
    "l": 58.235
  },
  "oklch": {
    "l": 0.8403,
    "c": 0.14443,
    "h": 109.1
  },
  "luminance": 0.60483
}

Semantic roles & 50–950 ramp

primary
#D2D257
secondary
#3D3D90
accent
#47E147
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D257

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

Preview Lab → · Contrast checker → · Palette generator →

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