#D5D936#D5D936

#D5D936 is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 85.5% C 0.173 H 111.0°. Best body text is #000000 at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#D5D936
RGBrgb(213, 217, 54)
HSLhsl(61, 68%, 53%)
HSVhsv(61, 75%, 85%)
CMYKcmyk(1.8%, 0%, 75.1%, 14.9%)
CIE-LABlab(83.99, -19.64, 73.75)
CIE-LCHlch(83.99, 76.32, 104.91°)
OKLaboklab(85.52% -0.062 0.1615)
OKLCHoklch(85.52% 0.173 111)
XYZxyz(52.9211, 64.0396, 13.0625)
Luminance0.6404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D936 #3A36D9
analogous
#D98B36 #D5D936 #84D936
triadic
#D5D936 #36D5D9 #D936D5
tetradic
#D5D936 #36D98B #3A36D9 #D93684
square
#D5D936 #36D98B #3A36D9 #D93684
split-complementary
#D5D936 #3684D9 #8B36D9
monochromatic
#7A7D18 #ADB021 #D5D936 #E0E369 #EBEC9D

Accessibility & contrast

On white

1.52
#D5D936 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.81
#D5D936 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D936
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D936#FFFFFF#000000##000000
##D5D9361.001.5213.8113.81
#FFFFFF1.521.0021.0021.00
#00000013.8121.001.001.00
##00000013.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EACF09
Deuteranopia (green-blind)
#EBD344
Tritanopia (blue-blind)
#E4CBBB
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d5d936;
/* rgb */ color: rgb(213, 217, 54);
/* oklch */ color: oklch(85.5% 0.173 111.0);
Tailwind
colors: {
  custom: {
    50: '#e6e47a',
    500: '#d5d936',
    950: '#000000',
  },
}
SCSS
$custom: #d5d936;
$custom-light: #e6e47a;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d936",
  "rgb": {
    "r": 213,
    "g": 217,
    "b": 54
  },
  "hsl": {
    "h": 61.472,
    "s": 68.201,
    "l": 53.137
  },
  "oklch": {
    "l": 0.85522,
    "c": 0.17295,
    "h": 111
  },
  "luminance": 0.64038
}

Semantic roles & 50–950 ramp

primary
#D5D936
secondary
#312F84
accent
#3DEB41
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D5D936

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

Preview Lab → · Contrast checker → · Palette generator →

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