#D2D45B#D2D45B

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

Color values

HEX#D2D45B
RGBrgb(210, 212, 91)
HSLhsl(61, 58%, 59%)
HSVhsv(61, 57%, 83%)
CMYKcmyk(0.9%, 0%, 57.1%, 16.9%)
CIE-LABlab(82.67, -16.34, 58.29)
CIE-LCHlch(82.67, 60.54, 105.66°)
OKLaboklab(84.5% -0.0489 0.1346)
OKLCHoklch(84.5% 0.143 110)
XYZxyz(52.0116, 61.5452, 19.0351)
Luminance0.6154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D45B #5D5BD4
analogous
#D49A5B #D2D45B #96D45B
triadic
#D2D45B #5BD2D4 #D45BD2
tetradic
#D2D45B #5BD49A #5D5BD4 #D45B96
square
#D2D45B #5BD49A #5D5BD4 #D45B96
split-complementary
#D2D45B #5B96D4 #9A5BD4
monochromatic
#8D8F26 #BDC032 #D2D45B #DFE18B #EDEDBC

Accessibility & contrast

On white

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

On black

13.31
#D2D45B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D45B
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D45B#FFFFFF#000000##000000
##D2D45B1.001.5813.3113.31
#FFFFFF1.581.0021.0021.00
#00000013.3121.001.001.00
##00000013.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CC4E
Deuteranopia (green-blind)
#E4D062
Tritanopia (blue-blind)
#DFC8BA
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d2d45b;
/* rgb */ color: rgb(210, 212, 91);
/* oklch */ color: oklch(84.5% 0.143 110.0);
Tailwind
colors: {
  custom: {
    50: '#e2e18e',
    500: '#d2d45b',
    950: '#000000',
  },
}
SCSS
$custom: #d2d45b;
$custom-light: #e2e18e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d45b",
  "rgb": {
    "r": 210,
    "g": 212,
    "b": 91
  },
  "hsl": {
    "h": 60.992,
    "s": 58.454,
    "l": 59.412
  },
  "oklch": {
    "l": 0.84496,
    "c": 0.14319,
    "h": 110
  },
  "luminance": 0.61544
}

Semantic roles & 50–950 ramp

primary
#D2D45B
secondary
#403E95
accent
#46E249
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2D45B

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

Preview Lab → · Contrast checker → · Palette generator →

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