#D6C062#D6C062

#D6C062 is a light, moderate yellow. Relative luminance 0.529; OKLCH L 80.7% C 0.117 H 96.4°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#D6C062
RGBrgb(214, 192, 98)
HSLhsl(49, 59%, 61%)
HSVhsv(49, 54%, 84%)
CMYKcmyk(0%, 10.3%, 54.2%, 16.1%)
CIE-LABlab(77.80, -3.99, 49.60)
CIE-LCHlch(77.80, 49.76, 94.60°)
OKLaboklab(80.73% -0.0131 0.1166)
OKLCHoklch(80.73% 0.117 96.4)
XYZxyz(48.7876, 52.8793, 19.1898)
Luminance0.5288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C062 #6278D6
analogous
#D68662 #D6C062 #B2D662
triadic
#D6C062 #62D6C0 #C062D6
tetradic
#D6C062 #62D686 #6278D6 #D662B2
square
#D6C062 #62D686 #6278D6 #D662B2
split-complementary
#D6C062 #62B2D6 #8662D6
monochromatic
#968127 #C7AB34 #D6C062 #E3D393 #EFE7C3

Accessibility & contrast

On white

1.81
#D6C062 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.58
#D6C062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C062
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C062#FFFFFF#000000##000000
##D6C0621.001.8111.5811.58
#FFFFFF1.811.0021.0021.00
#00000011.5821.001.001.00
##00000011.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BC59
Deuteranopia (green-blind)
#D6C366
Tritanopia (blue-blind)
#E5B4AB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d6c062;
/* rgb */ color: rgb(214, 192, 98);
/* oklch */ color: oklch(80.7% 0.117 96.4);
Tailwind
colors: {
  custom: {
    50: '#e5d291',
    500: '#d6c062',
    950: '#000000',
  },
}
SCSS
$custom: #d6c062;
$custom-light: #e5d291;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c062",
  "rgb": {
    "r": 214,
    "g": 192,
    "b": 98
  },
  "hsl": {
    "h": 48.621,
    "s": 58.586,
    "l": 61.176
  },
  "oklch": {
    "l": 0.80732,
    "c": 0.1173,
    "h": 96.4
  },
  "luminance": 0.52877
}

Semantic roles & 50–950 ramp

primary
#D6C062
secondary
#41529B
accent
#3FC61F
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D6C062

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

Preview Lab → · Contrast checker → · Palette generator →

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