#9E9C66#9E9C66

#9E9C66 is a light, moderate yellow. Relative luminance 0.320; OKLCH L 68.1% C 0.073 H 106.4°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#9E9C66
RGBrgb(158, 156, 102)
HSLhsl(58, 22%, 51%)
HSVhsv(58, 35%, 62%)
CMYKcmyk(0%, 1.3%, 35.4%, 38%)
CIE-LABlab(63.35, -7.80, 28.59)
CIE-LCHlch(63.35, 29.63, 105.25°)
OKLaboklab(68.13% -0.0207 0.0705)
OKLCHoklch(68.13% 0.074 106.4)
XYZxyz(28.3876, 32.0059, 17.2501)
Luminance0.3201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9C66 #66689E
analogous
#9E8066 #9E9C66 #849E66
triadic
#9E9C66 #669E9C #9C669E
tetradic
#9E9C66 #669E80 #66689E #9E6684
square
#9E9C66 #669E80 #66689E #9E6684
split-complementary
#9E9C66 #66849E #80669E
monochromatic
#545335 #7A784D #9E9C66 #B6B48B #CDCCB1

Accessibility & contrast

On white

2.84
#9E9C66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#9E9C66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9C66
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9C66#FFFFFF#000000##000000
##9E9C661.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59862
Deuteranopia (green-blind)
#A69B68
Tritanopia (blue-blind)
#A6958E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #9e9c66;
/* rgb */ color: rgb(158, 156, 102);
/* oklch */ color: oklch(68.1% 0.073 106.4);
Tailwind
colors: {
  custom: {
    50: '#bbb992',
    500: '#9e9c66',
    950: '#000000',
  },
}
SCSS
$custom: #9e9c66;
$custom-light: #bbb992;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9c66",
  "rgb": {
    "r": 158,
    "g": 156,
    "b": 102
  },
  "hsl": {
    "h": 57.857,
    "s": 22.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.6813,
    "c": 0.0735,
    "h": 106.4
  },
  "luminance": 0.32005
}

Semantic roles & 50–950 ramp

primary
#9E9C66
secondary
#A3A4BC
accent
#6CBF69
background
#FBFBF9
surface
#F6F6F1
border
#D0D0CB
text
#12110D
muted
#81807E

Preview Lab

Preview with #9E9C66

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

Preview Lab → · Contrast checker → · Palette generator →

#9E9C66 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva