#D6D45A#D6D45A

#D6D45A is a very light, vivid yellow. Relative luminance 0.621; OKLCH L 84.8% C 0.143 H 108.2°. Best body text is #000000 at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#D6D45A
RGBrgb(214, 212, 90)
HSLhsl(59, 60%, 60%)
HSVhsv(59, 58%, 84%)
CMYKcmyk(0%, 0.9%, 57.9%, 16.1%)
CIE-LABlab(82.98, -14.77, 59.16)
CIE-LCHlch(82.98, 60.98, 104.02°)
OKLaboklab(84.82% -0.0448 0.1362)
OKLCHoklch(84.82% 0.143 108.2)
XYZxyz(53.1221, 62.1228, 18.8635)
Luminance0.6212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6D45A #5A5CD6
analogous
#D6965A #D6D45A #9AD65A
triadic
#D6D45A #5AD6D4 #D45AD6
tetradic
#D6D45A #5AD696 #5A5CD6 #D65A9A
square
#D6D45A #5AD696 #5A5CD6 #D65A9A
split-complementary
#D6D45A #5A9AD6 #965AD6
monochromatic
#919024 #C2C030 #D6D45A #E2E18B #EEEEBC

Accessibility & contrast

On white

1.56
#D6D45A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.42
#D6D45A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6D45A
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6D45A#FFFFFF#000000##000000
##D6D45A1.001.5613.4213.42
#FFFFFF1.561.0021.0021.00
#00000013.4221.001.001.00
##00000013.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC4D
Deuteranopia (green-blind)
#E6D161
Tritanopia (blue-blind)
#E4C8BA
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d6d45a;
/* rgb */ color: rgb(214, 212, 90);
/* oklch */ color: oklch(84.8% 0.143 108.2);
Tailwind
colors: {
  custom: {
    50: '#e5e18d',
    500: '#d6d45a',
    950: '#000000',
  },
}
SCSS
$custom: #d6d45a;
$custom-light: #e5e18d;
$custom-dark: #000000;
JSON
{
  "hex": "#d6d45a",
  "rgb": {
    "r": 214,
    "g": 212,
    "b": 90
  },
  "hsl": {
    "h": 59.032,
    "s": 60.194,
    "l": 59.608
  },
  "oklch": {
    "l": 0.84816,
    "c": 0.1434,
    "h": 108.2
  },
  "luminance": 0.62121
}

Semantic roles & 50–950 ramp

primary
#D6D45A
secondary
#3D3F97
accent
#47E344
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D6D45A

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

Preview Lab → · Contrast checker → · Palette generator →

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