#D2D259#D2D259

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

Color values

HEX#D2D259
RGBrgb(210, 210, 89)
HSLhsl(60, 57%, 59%)
HSVhsv(60, 58%, 82%)
CMYKcmyk(0%, 0%, 57.6%, 17.6%)
CIE-LABlab(82.12, -15.49, 58.55)
CIE-LCHlch(82.12, 60.57, 104.81°)
OKLaboklab(84.05% -0.0467 0.1349)
OKLCHoklch(84.05% 0.143 109.1)
XYZxyz(51.4296, 60.5175, 18.4211)
Luminance0.6052 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D259 #5959D2
analogous
#D29559 #D2D259 #95D259
triadic
#D2D259 #59D2D2 #D259D2
tetradic
#D2D259 #59D295 #5959D2 #D25995
square
#D2D259 #59D295 #5959D2 #D25995
split-complementary
#D2D259 #5995D2 #9559D2
monochromatic
#8B8B26 #BBBB33 #D2D259 #DFDF89 #ECECB9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2D259#FFFFFF#000000##000000
##D2D2591.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)
#E1CA4C
Deuteranopia (green-blind)
#E3CE60
Tritanopia (blue-blind)
#E0C6B8
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d2d259;
/* rgb */ color: rgb(210, 210, 89);
/* oklch */ color: oklch(84.0% 0.143 109.1);
Tailwind
colors: {
  custom: {
    50: '#e2df8c',
    500: '#d2d259',
    950: '#000000',
  },
}
SCSS
$custom: #d2d259;
$custom-light: #e2df8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d259",
  "rgb": {
    "r": 210,
    "g": 210,
    "b": 89
  },
  "hsl": {
    "h": 60,
    "s": 57.346,
    "l": 58.627
  },
  "oklch": {
    "l": 0.8405,
    "c": 0.14276,
    "h": 109.1
  },
  "luminance": 0.60516
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2D259

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

Preview Lab → · Contrast checker → · Palette generator →

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