#D5D943#D5D943

#D5D943 is a very light, vivid yellow. Relative luminance 0.642; OKLCH L 85.6% C 0.166 H 110.9°. Best body text is #000000 at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#D5D943
RGBrgb(213, 217, 67)
HSLhsl(62, 66%, 56%)
HSVhsv(62, 69%, 85%)
CMYKcmyk(1.8%, 0%, 69.1%, 14.9%)
CIE-LABlab(84.06, -19.05, 69.47)
CIE-LCHlch(84.06, 72.04, 105.33°)
OKLaboklab(85.6% -0.0592 0.1547)
OKLCHoklch(85.6% 0.166 110.9)
XYZxyz(53.2683, 64.1785, 14.8908)
Luminance0.6418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D943 #4743D9
analogous
#D99243 #D5D943 #8AD943
triadic
#D5D943 #43D5D9 #D943D5
tetradic
#D5D943 #43D992 #4743D9 #D9438A
square
#D5D943 #43D992 #4743D9 #D9438A
split-complementary
#D5D943 #438AD9 #9243D9
monochromatic
#84861B #B5B925 #D5D943 #E0E376 #ECEEA9

Accessibility & contrast

On white

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

On black

13.84
#D5D943 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D943
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D943#FFFFFF#000000##000000
##D5D9431.001.5213.8413.84
#FFFFFF1.521.0021.0021.00
#00000013.8421.001.001.00
##00000013.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EACF2A
Deuteranopia (green-blind)
#EBD44E
Tritanopia (blue-blind)
#E4CCBC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d5d943;
/* rgb */ color: rgb(213, 217, 67);
/* oklch */ color: oklch(85.6% 0.166 110.9);
Tailwind
colors: {
  custom: {
    50: '#e5e480',
    500: '#d5d943',
    950: '#000000',
  },
}
SCSS
$custom: #d5d943;
$custom-light: #e5e480;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d943",
  "rgb": {
    "r": 213,
    "g": 217,
    "b": 67
  },
  "hsl": {
    "h": 61.6,
    "s": 66.372,
    "l": 55.686
  },
  "oklch": {
    "l": 0.85603,
    "c": 0.16559,
    "h": 110.9
  },
  "luminance": 0.64177
}

Semantic roles & 50–950 ramp

primary
#D5D943
secondary
#36338D
accent
#3FE943
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5D943

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

Preview Lab → · Contrast checker → · Palette generator →

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