#D6C261#D6C261

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

Color values

HEX#D6C261
RGBrgb(214, 194, 97)
HSLhsl(50, 59%, 61%)
HSVhsv(50, 55%, 84%)
CMYKcmyk(0%, 9.3%, 54.7%, 16.1%)
CIE-LABlab(78.31, -5.10, 50.67)
CIE-LCHlch(78.31, 50.93, 95.75°)
OKLaboklab(81.13% -0.0164 0.1188)
OKLCHoklch(81.13% 0.12 97.9)
XYZxyz(49.1828, 53.7448, 19.0900)
Luminance0.5374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C261 #6175D6
analogous
#D68761 #D6C261 #AFD661
triadic
#D6C261 #61D6C2 #C261D6
tetradic
#D6C261 #61D687 #6175D6 #D661AF
square
#D6C261 #61D687 #6175D6 #D661AF
split-complementary
#D6C261 #61AFD6 #8761D6
monochromatic
#968327 #C6AD33 #D6C261 #E3D592 #EFE8C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D6C261#FFFFFF#000000##000000
##D6C2611.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)
#D2BE58
Deuteranopia (green-blind)
#D8C565
Tritanopia (blue-blind)
#E5B6AC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d6c261;
/* rgb */ color: rgb(214, 194, 97);
/* oklch */ color: oklch(81.1% 0.120 97.9);
Tailwind
colors: {
  custom: {
    50: '#e5d491',
    500: '#d6c261',
    950: '#000000',
  },
}
SCSS
$custom: #d6c261;
$custom-light: #e5d491;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c261",
  "rgb": {
    "r": 214,
    "g": 194,
    "b": 97
  },
  "hsl": {
    "h": 49.744,
    "s": 58.794,
    "l": 60.98
  },
  "oklch": {
    "l": 0.81131,
    "c": 0.11992,
    "h": 97.9
  },
  "luminance": 0.53743
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D6C261

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

Preview Lab → · Contrast checker → · Palette generator →

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