#D5D440#D5D440

#D5D440 is a very light, vivid yellow. Relative luminance 0.616; OKLCH L 84.5% C 0.163 H 109.0°. Best body text is #000000 at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#D5D440
RGBrgb(213, 212, 64)
HSLhsl(60, 64%, 54%)
HSVhsv(60, 70%, 84%)
CMYKcmyk(0%, 0.5%, 70%, 16.5%)
CIE-LABlab(82.70, -16.74, 69.22)
CIE-LCHlch(82.70, 71.21, 103.59°)
OKLaboklab(84.51% -0.053 0.1536)
OKLCHoklch(84.51% 0.163 109)
XYZxyz(51.9113, 61.6048, 14.0059)
Luminance0.6160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D440 #4041D5
analogous
#D58940 #D5D440 #8CD540
triadic
#D5D440 #40D5D4 #D440D5
tetradic
#D5D440 #40D589 #4041D5 #D5408C
square
#D5D440 #40D589 #4041D5 #D5408C
split-complementary
#D5D440 #408CD5 #8940D5
monochromatic
#7F7E1C #B1B027 #D5D440 #E0DF72 #EBEBA4

Accessibility & contrast

On white

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

On black

13.32
#D5D440 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D440
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D440#FFFFFF#000000##000000
##D5D4401.001.5813.3213.32
#FFFFFF1.581.0021.0021.00
#00000013.3221.001.001.00
##00000013.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CB26
Deuteranopia (green-blind)
#E7D04B
Tritanopia (blue-blind)
#E4C7B7
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d5d440;
/* rgb */ color: rgb(213, 212, 64);
/* oklch */ color: oklch(84.5% 0.163 109.0);
Tailwind
colors: {
  custom: {
    50: '#e6e07e',
    500: '#d5d440',
    950: '#000000',
  },
}
SCSS
$custom: #d5d440;
$custom-light: #e6e07e;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d440",
  "rgb": {
    "r": 213,
    "g": 212,
    "b": 64
  },
  "hsl": {
    "h": 59.597,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.84514,
    "c": 0.1625,
    "h": 109
  },
  "luminance": 0.61603
}

Semantic roles & 50–950 ramp

primary
#D5D440
secondary
#333486
accent
#42E741
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5D440

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

Preview Lab → · Contrast checker → · Palette generator →

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