#D6C262#D6C262

#D6C262 is a light, moderate yellow. Relative luminance 0.538; OKLCH L 81.1% C 0.119 H 97.8°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#D6C262
RGBrgb(214, 194, 98)
HSLhsl(50, 59%, 61%)
HSVhsv(50, 54%, 84%)
CMYKcmyk(0%, 9.3%, 54.2%, 16.1%)
CIE-LABlab(78.32, -5.02, 50.21)
CIE-LCHlch(78.32, 50.46, 95.71°)
OKLaboklab(81.14% -0.0161 0.1179)
OKLCHoklch(81.14% 0.119 97.8)
XYZxyz(49.2297, 53.7636, 19.3372)
Luminance0.5376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C262 #6276D6
analogous
#D68862 #D6C262 #B0D662
triadic
#D6C262 #62D6C2 #C262D6
tetradic
#D6C262 #62D688 #6276D6 #D662B0
square
#D6C262 #62D688 #6276D6 #D662B0
split-complementary
#D6C262 #62B0D6 #8862D6
monochromatic
#968327 #C7AE34 #D6C262 #E3D593 #EFE8C3

Accessibility & contrast

On white

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

On black

11.75
#D6C262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C262
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C262#FFFFFF#000000##000000
##D6C2621.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BE59
Deuteranopia (green-blind)
#D8C566
Tritanopia (blue-blind)
#E5B6AC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d6c262;
/* rgb */ color: rgb(214, 194, 98);
/* oklch */ color: oklch(81.1% 0.119 97.8);
Tailwind
colors: {
  custom: {
    50: '#e5d491',
    500: '#d6c262',
    950: '#000000',
  },
}
SCSS
$custom: #d6c262;
$custom-light: #e5d491;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c262",
  "rgb": {
    "r": 214,
    "g": 194,
    "b": 98
  },
  "hsl": {
    "h": 49.655,
    "s": 58.586,
    "l": 61.176
  },
  "oklch": {
    "l": 0.81143,
    "c": 0.11898,
    "h": 97.8
  },
  "luminance": 0.53762
}

Semantic roles & 50–950 ramp

primary
#D6C262
secondary
#41519B
accent
#3CC61F
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D6C262

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

Preview Lab → · Contrast checker → · Palette generator →

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