#D6C05F#D6C05F

#D6C05F is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.7% C 0.120 H 96.8°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#D6C05F
RGBrgb(214, 192, 95)
HSLhsl(49, 59%, 61%)
HSVhsv(49, 56%, 84%)
CMYKcmyk(0%, 10.3%, 55.6%, 16.1%)
CIE-LABlab(77.77, -4.23, 50.99)
CIE-LCHlch(77.77, 51.16, 94.74°)
OKLaboklab(80.69% -0.0141 0.1193)
OKLCHoklch(80.69% 0.12 96.8)
XYZxyz(48.6486, 52.8237, 18.4577)
Luminance0.5282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C05F #5F75D6
analogous
#D6855F #D6C05F #B0D65F
triadic
#D6C05F #5FD6C0 #C05FD6
tetradic
#D6C05F #5FD685 #5F75D6 #D65FB0
square
#D6C05F #5FD685 #5F75D6 #D65FB0
split-complementary
#D6C05F #5FB0D6 #855FD6
monochromatic
#958026 #C5AA33 #D6C05F #E2D390 #EFE6C0

Accessibility & contrast

On white

1.82
#D6C05F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.56
#D6C05F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C05F
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C05F#FFFFFF#000000##000000
##D6C05F1.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BC56
Deuteranopia (green-blind)
#D6C363
Tritanopia (blue-blind)
#E5B4AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d6c05f;
/* rgb */ color: rgb(214, 192, 95);
/* oklch */ color: oklch(80.7% 0.120 96.8);
Tailwind
colors: {
  custom: {
    50: '#e5d28f',
    500: '#d6c05f',
    950: '#000000',
  },
}
SCSS
$custom: #d6c05f;
$custom-light: #e5d28f;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c05f",
  "rgb": {
    "r": 214,
    "g": 192,
    "b": 95
  },
  "hsl": {
    "h": 48.908,
    "s": 59.204,
    "l": 60.588
  },
  "oklch": {
    "l": 0.80695,
    "c": 0.12009,
    "h": 96.8
  },
  "luminance": 0.52822
}

Semantic roles & 50–950 ramp

primary
#D6C05F
secondary
#40509A
accent
#3EC71F
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D6C05F

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

Preview Lab → · Contrast checker → · Palette generator →

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