#D2DA5B#D2DA5B

#D2DA5B is a very light, vivid yellow. Relative luminance 0.646; OKLCH L 85.8% C 0.150 H 112.5°. Best body text is #000000 at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#D2DA5B
RGBrgb(210, 218, 91)
HSLhsl(64, 63%, 61%)
HSVhsv(64, 58%, 85%)
CMYKcmyk(3.7%, 0%, 58.3%, 14.5%)
CIE-LABlab(84.28, -19.30, 60.07)
CIE-LCHlch(84.28, 63.10, 107.81°)
OKLaboklab(85.78% -0.0573 0.1384)
OKLCHoklch(85.78% 0.15 112.5)
XYZxyz(53.5394, 64.6009, 19.5444)
Luminance0.6460 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DA5B #635BDA
analogous
#DAA35B #D2DA5B #92DA5B
triadic
#D2DA5B #5BD2DA #DA5BD2
tetradic
#D2DA5B #5BDAA3 #635BDA #DA5B92
square
#D2DA5B #5BDAA3 #635BDA #DA5B92
split-complementary
#D2DA5B #5B92DA #A35BDA
monochromatic
#919822 #C0CA2E #D2DA5B #E0E58D #EDF1BF

Accessibility & contrast

On white

1.51
#D2DA5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.92
#D2DA5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DA5B
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DA5B#FFFFFF#000000##000000
##D2DA5B1.001.5113.9213.92
#FFFFFF1.511.0021.0021.00
#00000013.9221.001.001.00
##00000013.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D14D
Deuteranopia (green-blind)
#E9D463
Tritanopia (blue-blind)
#DFCEBF
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d2da5b;
/* rgb */ color: rgb(210, 218, 91);
/* oklch */ color: oklch(85.8% 0.150 112.5);
Tailwind
colors: {
  custom: {
    50: '#e2e58e',
    500: '#d2da5b',
    950: '#000000',
  },
}
SCSS
$custom: #d2da5b;
$custom-light: #e2e58e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2da5b",
  "rgb": {
    "r": 210,
    "g": 218,
    "b": 91
  },
  "hsl": {
    "h": 63.78,
    "s": 63.184,
    "l": 60.588
  },
  "oklch": {
    "l": 0.85779,
    "c": 0.14977,
    "h": 112.5
  },
  "luminance": 0.646
}

Semantic roles & 50–950 ramp

primary
#D2DA5B
secondary
#433D9D
accent
#1BCB26
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2DA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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