#9E8116#9E8116

#9E8116 is a mid, moderate yellow. Relative luminance 0.230; OKLCH L 61.3% C 0.119 H 92.0°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#9E8116
RGBrgb(158, 129, 22)
HSLhsl(47, 76%, 35%)
HSVhsv(47, 86%, 62%)
CMYKcmyk(0%, 18.4%, 86.1%, 38%)
CIE-LABlab(55.10, 0.97, 55.88)
CIE-LCHlch(55.10, 55.89, 89.00°)
OKLaboklab(61.34% -0.0041 0.1193)
OKLCHoklch(61.34% 0.119 92)
XYZxyz(22.0970, 23.0290, 4.0401)
Luminance0.2303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8116 #16339E
analogous
#9E3D16 #9E8116 #779E16
triadic
#9E8116 #169E81 #81169E
tetradic
#9E8116 #169E3D #16339E #9E1677
square
#9E8116 #169E3D #16339E #9E1677
split-complementary
#9E8116 #16779E #3D169E
monochromatic
#332907 #68550F #9E8116 #D4AD1D #E6C449

Accessibility & contrast

On white

3.75
#9E8116 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#9E8116 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8116
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8116#FFFFFF#000000##000000
##9E81161.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#98871E
Tritanopia (blue-blind)
#AC756E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9e8116;
/* rgb */ color: rgb(158, 129, 22);
/* oklch */ color: oklch(61.3% 0.119 92.0);
Tailwind
colors: {
  custom: {
    50: '#bfa560',
    500: '#9e8116',
    950: '#000000',
  },
}
SCSS
$custom: #9e8116;
$custom-light: #bfa560;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8116",
  "rgb": {
    "r": 158,
    "g": 129,
    "b": 22
  },
  "hsl": {
    "h": 47.206,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.61337,
    "c": 0.11941,
    "h": 92
  },
  "luminance": 0.23028
}

Semantic roles & 50–950 ramp

primary
#9E8116
secondary
#4964C7
accent
#5EF236
background
#FCFAF5
surface
#F8F4EA
border
#D1CEC6
text
#130F05
muted
#827F79

Preview Lab

Preview with #9E8116

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

Preview Lab → · Contrast checker → · Palette generator →

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