#D5DA3B#D5DA3B

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

Color values

HEX#D5DA3B
RGBrgb(213, 218, 59)
HSLhsl(62, 68%, 54%)
HSVhsv(62, 73%, 85%)
CMYKcmyk(2.3%, 0%, 72.9%, 14.5%)
CIE-LABlab(84.28, -19.92, 72.44)
CIE-LCHlch(84.28, 75.12, 105.37°)
OKLaboklab(85.77% -0.0623 0.1596)
OKLCHoklch(85.77% 0.171 111.3)
XYZxyz(53.3032, 64.6061, 13.7992)
Luminance0.6461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5DA3B #403BDA
analogous
#DA903B #D5DA3B #86DA3B
triadic
#D5DA3B #3BD5DA #DA3BD5
tetradic
#D5DA3B #3BDA90 #403BDA #DA3B86
square
#D5DA3B #3BDA90 #403BDA #DA3B86
split-complementary
#D5DA3B #3B86DA #903BDA
monochromatic
#7F8219 #B1B622 #D5DA3B #E0E46E #EBEDA2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5DA3B#FFFFFF#000000##000000
##D5DA3B1.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)
#EBD019
Deuteranopia (green-blind)
#ECD448
Tritanopia (blue-blind)
#E4CCBC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d5da3b;
/* rgb */ color: rgb(213, 218, 59);
/* oklch */ color: oklch(85.8% 0.171 111.3);
Tailwind
colors: {
  custom: {
    50: '#e6e57c',
    500: '#d5da3b',
    950: '#000000',
  },
}
SCSS
$custom: #d5da3b;
$custom-light: #e6e57c;
$custom-dark: #000000;
JSON
{
  "hex": "#d5da3b",
  "rgb": {
    "r": 213,
    "g": 218,
    "b": 59
  },
  "hsl": {
    "h": 61.887,
    "s": 68.24,
    "l": 54.314
  },
  "oklch": {
    "l": 0.85765,
    "c": 0.1713,
    "h": 111.3
  },
  "luminance": 0.64605
}

Semantic roles & 50–950 ramp

primary
#D5DA3B
secondary
#333089
accent
#3DEB42
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D5DA3B

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

Preview Lab → · Contrast checker → · Palette generator →

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