#D5D146#D5D146

#D5D146 is a very light, vivid yellow. Relative luminance 0.602; OKLCH L 83.9% C 0.156 H 107.7°. Best body text is #000000 at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#D5D146
RGBrgb(213, 209, 70)
HSLhsl(58, 63%, 55%)
HSVhsv(58, 67%, 84%)
CMYKcmyk(0%, 1.9%, 67.1%, 16.5%)
CIE-LABlab(81.94, -14.94, 66.25)
CIE-LCHlch(81.94, 67.91, 102.71°)
OKLaboklab(83.92% -0.0474 0.1484)
OKLCHoklch(83.92% 0.156 107.7)
XYZxyz(51.3484, 60.1909, 14.7063)
Luminance0.6019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D146 #464AD5
analogous
#D58A46 #D5D146 #91D546
triadic
#D5D146 #46D5D1 #D146D5
tetradic
#D5D146 #46D58A #464AD5 #D54691
square
#D5D146 #46D58A #464AD5 #D54691
split-complementary
#D5D146 #4691D5 #8A46D5
monochromatic
#83801E #B5B129 #D5D146 #E0DD78 #ECEAAA

Accessibility & contrast

On white

1.61
#D5D146 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.04
#D5D146 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D146
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D146#FFFFFF#000000##000000
##D5D1461.001.6113.0413.04
#FFFFFF1.611.0021.0021.00
#00000013.0421.001.001.00
##00000013.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C931
Deuteranopia (green-blind)
#E4CE4F
Tritanopia (blue-blind)
#E4C4B5
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d5d146;
/* rgb */ color: rgb(213, 209, 70);
/* oklch */ color: oklch(83.9% 0.156 107.7);
Tailwind
colors: {
  custom: {
    50: '#e5de81',
    500: '#d5d146',
    950: '#000000',
  },
}
SCSS
$custom: #d5d146;
$custom-light: #e5de81;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d146",
  "rgb": {
    "r": 213,
    "g": 209,
    "b": 70
  },
  "hsl": {
    "h": 58.322,
    "s": 62.996,
    "l": 55.49
  },
  "oklch": {
    "l": 0.83919,
    "c": 0.15573,
    "h": 107.7
  },
  "luminance": 0.60189
}

Semantic roles & 50–950 ramp

primary
#D5D146
secondary
#35388A
accent
#46E642
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5D146

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

Preview Lab → · Contrast checker → · Palette generator →

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