#D6C045#D6C045

#D6C045 is a light, vivid yellow. Relative luminance 0.524; OKLCH L 80.4% C 0.141 H 99.0°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#D6C045
RGBrgb(214, 192, 69)
HSLhsl(51, 64%, 55%)
HSVhsv(51, 68%, 84%)
CMYKcmyk(0%, 10.3%, 67.8%, 16.1%)
CIE-LABlab(77.54, -5.95, 62.19)
CIE-LCHlch(77.54, 62.47, 95.46°)
OKLaboklab(80.43% -0.0221 0.1396)
OKLCHoklch(80.43% 0.141 99)
XYZxyz(47.6575, 52.4273, 13.2383)
Luminance0.5242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C045 #455BD6
analogous
#D67845 #D6C045 #A3D645
triadic
#D6C045 #45D6C0 #C045D6
tetradic
#D6C045 #45D678 #455BD6 #D645A3
square
#D6C045 #45D678 #455BD6 #D645A3
split-complementary
#D6C045 #45A3D6 #7845D6
monochromatic
#84741D #B6A028 #D6C045 #E1D177 #ECE2A9

Accessibility & contrast

On white

1.83
#D6C045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.49
#D6C045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C045
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C045#FFFFFF#000000##000000
##D6C0451.001.8311.4911.49
#FFFFFF1.831.0021.0021.00
#00000011.4921.001.001.00
##00000011.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB34
Deuteranopia (green-blind)
#D8C34C
Tritanopia (blue-blind)
#E6B2A7
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d6c045;
/* rgb */ color: rgb(214, 192, 69);
/* oklch */ color: oklch(80.4% 0.141 99.0);
Tailwind
colors: {
  custom: {
    50: '#e6d27f',
    500: '#d6c045',
    950: '#000000',
  },
}
SCSS
$custom: #d6c045;
$custom-light: #e6d27f;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c045",
  "rgb": {
    "r": 214,
    "g": 192,
    "b": 69
  },
  "hsl": {
    "h": 50.897,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.80433,
    "c": 0.14131,
    "h": 99
  },
  "luminance": 0.52425
}

Semantic roles & 50–950 ramp

primary
#D6C045
secondary
#35428A
accent
#5AE741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D6C045

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

Preview Lab → · Contrast checker → · Palette generator →

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