#D5D245#D5D245

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

Color values

HEX#D5D245
RGBrgb(213, 210, 69)
HSLhsl(59, 63%, 55%)
HSVhsv(59, 68%, 84%)
CMYKcmyk(0%, 1.4%, 67.6%, 16.5%)
CIE-LABlab(82.20, -15.49, 66.89)
CIE-LCHlch(82.20, 68.66, 103.04°)
OKLaboklab(84.12% -0.049 0.1495)
OKLCHoklch(84.12% 0.157 108.2)
XYZxyz(51.5632, 60.6706, 14.6235)
Luminance0.6067 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D245 #4548D5
analogous
#D58A45 #D5D245 #90D545
triadic
#D5D245 #45D5D2 #D245D5
tetradic
#D5D245 #45D58A #4548D5 #D54590
square
#D5D245 #45D58A #4548D5 #D54590
split-complementary
#D5D245 #4590D5 #8A45D5
monochromatic
#82801D #B4B129 #D5D245 #E0DE77 #ECEAA9

Accessibility & contrast

On white

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

On black

13.13
#D5D245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D245
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D245#FFFFFF#000000##000000
##D5D2451.001.6013.1313.13
#FFFFFF1.601.0021.0021.00
#00000013.1321.001.001.00
##00000013.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA30
Deuteranopia (green-blind)
#E5CF4F
Tritanopia (blue-blind)
#E4C5B6
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d5d245;
/* rgb */ color: rgb(213, 210, 69);
/* oklch */ color: oklch(84.1% 0.157 108.2);
Tailwind
colors: {
  custom: {
    50: '#e5df81',
    500: '#d5d245',
    950: '#000000',
  },
}
SCSS
$custom: #d5d245;
$custom-light: #e5df81;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d245",
  "rgb": {
    "r": 213,
    "g": 210,
    "b": 69
  },
  "hsl": {
    "h": 58.75,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.84124,
    "c": 0.15736,
    "h": 108.2
  },
  "luminance": 0.60669
}

Semantic roles & 50–950 ramp

primary
#D5D245
secondary
#353789
accent
#45E642
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5D245

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

Preview Lab → · Contrast checker → · Palette generator →

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