#9E8A2E#9E8A2E

#9E8A2E is a light, moderate yellow. Relative luminance 0.256; OKLCH L 63.4% C 0.112 H 96.7°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#9E8A2E
RGBrgb(158, 138, 46)
HSLhsl(49, 55%, 40%)
HSVhsv(49, 71%, 62%)
CMYKcmyk(0%, 12.7%, 70.9%, 38%)
CIE-LABlab(57.70, -3.03, 49.76)
CIE-LCHlch(57.70, 49.86, 93.49°)
OKLaboklab(63.43% -0.013 0.1112)
OKLCHoklch(63.43% 0.112 96.7)
XYZxyz(23.6833, 25.6445, 6.2867)
Luminance0.2564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8A2E #2E429E
analogous
#9E522E #9E8A2E #7A9E2E
triadic
#9E8A2E #2E9E8A #8A2E9E
tetradic
#9E8A2E #2E9E52 #2E429E #9E2E7A
square
#9E8A2E #2E9E52 #2E429E #9E2E7A
split-complementary
#9E8A2E #2E7A9E #522E9E
monochromatic
#3F3712 #6F6120 #9E8A2E #C8B041 #D6C471

Accessibility & contrast

On white

3.43
#9E8A2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#9E8A2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8A2E
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8A2E#FFFFFF#000000##000000
##9E8A2E1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#988721
Deuteranopia (green-blind)
#9D8D33
Tritanopia (blue-blind)
#AB7F77
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9e8a2e;
/* rgb */ color: rgb(158, 138, 46);
/* oklch */ color: oklch(63.4% 0.112 96.7);
Tailwind
colors: {
  custom: {
    50: '#beab6c',
    500: '#9e8a2e',
    950: '#000000',
  },
}
SCSS
$custom: #9e8a2e;
$custom-light: #beab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8a2e",
  "rgb": {
    "r": 158,
    "g": 138,
    "b": 46
  },
  "hsl": {
    "h": 49.286,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.63433,
    "c": 0.11197,
    "h": 96.7
  },
  "luminance": 0.25643
}

Semantic roles & 50–950 ramp

primary
#9E8A2E
secondary
#6B79BD
accent
#64DE4A
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #9E8A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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