#D5D241#D5D241

#D5D241 is a very light, vivid yellow. Relative luminance 0.606; OKLCH L 84.1% C 0.160 H 108.2°. Best body text is #000000 at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#D5D241
RGBrgb(213, 210, 65)
HSLhsl(59, 64%, 55%)
HSVhsv(59, 69%, 84%)
CMYKcmyk(0%, 1.4%, 69.5%, 16.5%)
CIE-LABlab(82.18, -15.70, 68.34)
CIE-LCHlch(82.18, 70.12, 102.93°)
OKLaboklab(84.1% -0.05 0.1519)
OKLCHoklch(84.1% 0.16 108.2)
XYZxyz(51.4432, 60.6226, 13.9915)
Luminance0.6062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D241 #4144D5
analogous
#D58841 #D5D241 #8ED541
triadic
#D5D241 #41D5D2 #D241D5
tetradic
#D5D241 #41D588 #4144D5 #D5418E
square
#D5D241 #41D588 #4144D5 #D5418E
split-complementary
#D5D241 #418ED5 #8841D5
monochromatic
#7F7D1C #B2AF27 #D5D241 #E0DE73 #EBEAA5

Accessibility & contrast

On white

1.60
#D5D241 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.12
#D5D241 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D241
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D241#FFFFFF#000000##000000
##D5D2411.001.6013.1213.12
#FFFFFF1.601.0021.0021.00
#00000013.1221.001.001.00
##00000013.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA29
Deuteranopia (green-blind)
#E5CF4B
Tritanopia (blue-blind)
#E4C5B5
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d5d241;
/* rgb */ color: rgb(213, 210, 65);
/* oklch */ color: oklch(84.1% 0.160 108.2);
Tailwind
colors: {
  custom: {
    50: '#e6df7f',
    500: '#d5d241',
    950: '#000000',
  },
}
SCSS
$custom: #d5d241;
$custom-light: #e6df7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d241",
  "rgb": {
    "r": 213,
    "g": 210,
    "b": 65
  },
  "hsl": {
    "h": 58.784,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.84095,
    "c": 0.15994,
    "h": 108.2
  },
  "luminance": 0.60621
}

Semantic roles & 50–950 ramp

primary
#D5D241
secondary
#343587
accent
#44E741
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5D241

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

Preview Lab → · Contrast checker → · Palette generator →

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