#D6C258#D6C258

#D6C258 is a light, vivid yellow. Relative luminance 0.536; OKLCH L 81.0% C 0.128 H 98.7°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#D6C258
RGBrgb(214, 194, 88)
HSLhsl(50, 61%, 59%)
HSVhsv(50, 59%, 84%)
CMYKcmyk(0%, 9.3%, 58.9%, 16.1%)
CIE-LABlab(78.22, -5.78, 54.75)
CIE-LCHlch(78.22, 55.05, 96.03°)
OKLaboklab(81.03% -0.0194 0.1265)
OKLCHoklch(81.03% 0.128 98.7)
XYZxyz(48.7867, 53.5864, 17.0040)
Luminance0.5358 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C258 #586CD6
analogous
#D68358 #D6C258 #ABD658
triadic
#D6C258 #58D6C2 #C258D6
tetradic
#D6C258 #58D683 #586CD6 #D658AB
square
#D6C258 #58D683 #586CD6 #D658AB
split-complementary
#D6C258 #58ABD6 #8358D6
monochromatic
#907F23 #C1AA2F #D6C258 #E2D489 #EEE6BA

Accessibility & contrast

On white

1.79
#D6C258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.72
#D6C258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C258
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C258#FFFFFF#000000##000000
##D6C2581.001.7911.7211.72
#FFFFFF1.791.0021.0021.00
#00000011.7221.001.001.00
##00000011.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD4D
Deuteranopia (green-blind)
#D8C55D
Tritanopia (blue-blind)
#E5B5AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d6c258;
/* rgb */ color: rgb(214, 194, 88);
/* oklch */ color: oklch(81.0% 0.128 98.7);
Tailwind
colors: {
  custom: {
    50: '#e5d48b',
    500: '#d6c258',
    950: '#000000',
  },
}
SCSS
$custom: #d6c258;
$custom-light: #e5d48b;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c258",
  "rgb": {
    "r": 214,
    "g": 194,
    "b": 88
  },
  "hsl": {
    "h": 50.476,
    "s": 60.577,
    "l": 59.216
  },
  "oklch": {
    "l": 0.81028,
    "c": 0.12802,
    "h": 98.7
  },
  "luminance": 0.53584
}

Semantic roles & 50–950 ramp

primary
#D6C258
secondary
#3D4B96
accent
#5DE444
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D6C258

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

Preview Lab → · Contrast checker → · Palette generator →

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