#D6D45F#D6D45F

#D6D45F is a very light, vivid yellow. Relative luminance 0.622; OKLCH L 84.9% C 0.139 H 108.1°. Best body text is #000000 at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#D6D45F
RGBrgb(214, 212, 95)
HSLhsl(59, 59%, 61%)
HSVhsv(59, 56%, 84%)
CMYKcmyk(0%, 0.9%, 55.6%, 16.1%)
CIE-LABlab(83.03, -14.41, 57.00)
CIE-LCHlch(83.03, 58.79, 104.18°)
OKLaboklab(84.87% -0.0433 0.1322)
OKLCHoklch(84.87% 0.139 108.1)
XYZxyz(53.3421, 62.2108, 20.0222)
Luminance0.6221 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6D45F #5F61D6
analogous
#D6995F #D6D45F #9CD65F
triadic
#D6D45F #5FD6D4 #D45FD6
tetradic
#D6D45F #5FD699 #5F61D6 #D65F9C
square
#D6D45F #5FD699 #5F61D6 #D65F9C
split-complementary
#D6D45F #5F9CD6 #995FD6
monochromatic
#959326 #C5C333 #D6D45F #E2E190 #EFEEC0

Accessibility & contrast

On white

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

On black

13.44
#D6D45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6D45F
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6D45F#FFFFFF#000000##000000
##D6D45F1.001.5613.4413.44
#FFFFFF1.561.0021.0021.00
#00000013.4421.001.001.00
##00000013.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d6d45f;
/* rgb */ color: rgb(214, 212, 95);
/* oklch */ color: oklch(84.9% 0.139 108.1);
Tailwind
colors: {
  custom: {
    50: '#e5e190',
    500: '#d6d45f',
    950: '#000000',
  },
}
SCSS
$custom: #d6d45f;
$custom-light: #e5e190;
$custom-dark: #000000;
JSON
{
  "hex": "#d6d45f",
  "rgb": {
    "r": 214,
    "g": 212,
    "b": 95
  },
  "hsl": {
    "h": 58.992,
    "s": 59.204,
    "l": 60.588
  },
  "oklch": {
    "l": 0.84868,
    "c": 0.13911,
    "h": 108.1
  },
  "luminance": 0.62209
}

Semantic roles & 50–950 ramp

primary
#D6D45F
secondary
#40419A
accent
#21C71F
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D6D45F

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

Preview Lab → · Contrast checker → · Palette generator →

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