#D6C45F#D6C45F

#D6C45F is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.5% C 0.124 H 99.4°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#D6C45F
RGBrgb(214, 196, 95)
HSLhsl(51, 59%, 61%)
HSVhsv(51, 56%, 84%)
CMYKcmyk(0%, 8.4%, 55.6%, 16.1%)
CIE-LABlab(78.81, -6.29, 52.19)
CIE-LCHlch(78.81, 52.57, 96.88°)
OKLaboklab(81.52% -0.0201 0.1219)
OKLCHoklch(81.52% 0.124 99.4)
XYZxyz(49.5388, 54.6042, 18.7545)
Luminance0.5460 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C45F #5F71D6
analogous
#D6885F #D6C45F #ADD65F
triadic
#D6C45F #5FD6C4 #C45FD6
tetradic
#D6C45F #5FD688 #5F71D6 #D65FAD
square
#D6C45F #5FD688 #5F71D6 #D65FAD
split-complementary
#D6C45F #5FADD6 #885FD6
monochromatic
#958426 #C5AF33 #D6C45F #E2D690 #EFE8C0

Accessibility & contrast

On white

1.76
#D6C45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.92
#D6C45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C45F
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C45F#FFFFFF#000000##000000
##D6C45F1.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF55
Deuteranopia (green-blind)
#D9C664
Tritanopia (blue-blind)
#E5B8AD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d6c45f;
/* rgb */ color: rgb(214, 196, 95);
/* oklch */ color: oklch(81.5% 0.124 99.4);
Tailwind
colors: {
  custom: {
    50: '#e5d58f',
    500: '#d6c45f',
    950: '#000000',
  },
}
SCSS
$custom: #d6c45f;
$custom-light: #e5d58f;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c45f",
  "rgb": {
    "r": 214,
    "g": 196,
    "b": 95
  },
  "hsl": {
    "h": 50.924,
    "s": 59.204,
    "l": 60.588
  },
  "oklch": {
    "l": 0.8152,
    "c": 0.12351,
    "h": 99.4
  },
  "luminance": 0.54602
}

Semantic roles & 50–950 ramp

primary
#D6C45F
secondary
#404D9A
accent
#38C71F
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D6C45F

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

Preview Lab → · Contrast checker → · Palette generator →

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