#D5D946#D5D946

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

Color values

HEX#D5D946
RGBrgb(213, 217, 70)
HSLhsl(62, 66%, 56%)
HSVhsv(62, 68%, 85%)
CMYKcmyk(1.8%, 0%, 67.7%, 14.9%)
CIE-LABlab(84.08, -18.89, 68.40)
CIE-LCHlch(84.08, 70.96, 105.44°)
OKLaboklab(85.62% -0.0585 0.1529)
OKLCHoklch(85.62% 0.164 110.9)
XYZxyz(53.3606, 64.2154, 15.3771)
Luminance0.6421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D946 #4A46D9
analogous
#D99446 #D5D946 #8CD946
triadic
#D5D946 #46D5D9 #D946D5
tetradic
#D5D946 #46D994 #4A46D9 #D9468C
square
#D5D946 #46D994 #4A46D9 #D9468C
split-complementary
#D5D946 #468CD9 #9446D9
monochromatic
#86891C #B7BB26 #D5D946 #E1E379 #ECEEAC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5D946#FFFFFF#000000##000000
##D5D9461.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)
#EAD02F
Deuteranopia (green-blind)
#EBD451
Tritanopia (blue-blind)
#E3CCBC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d5d946;
/* rgb */ color: rgb(213, 217, 70);
/* oklch */ color: oklch(85.6% 0.164 110.9);
Tailwind
colors: {
  custom: {
    50: '#e5e482',
    500: '#d5d946',
    950: '#000000',
  },
}
SCSS
$custom: #d5d946;
$custom-light: #e5e482;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d946",
  "rgb": {
    "r": 213,
    "g": 217,
    "b": 70
  },
  "hsl": {
    "h": 61.633,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.85624,
    "c": 0.16367,
    "h": 110.9
  },
  "luminance": 0.64214
}

Semantic roles & 50–950 ramp

primary
#D5D946
secondary
#37358F
accent
#3FE944
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5D946

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

Preview Lab → · Contrast checker → · Palette generator →

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