#9E8B2E#9E8B2E

#9E8B2E is a light, moderate yellow. Relative luminance 0.259; OKLCH L 63.7% C 0.113 H 97.4°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#9E8B2E
RGBrgb(158, 139, 46)
HSLhsl(50, 55%, 40%)
HSVhsv(50, 71%, 62%)
CMYKcmyk(0%, 12%, 70.9%, 38%)
CIE-LABlab(57.97, -3.58, 50.04)
CIE-LCHlch(57.97, 50.17, 94.09°)
OKLaboklab(63.65% -0.0146 0.1118)
OKLCHoklch(63.65% 0.113 97.4)
XYZxyz(23.8275, 25.9328, 6.3347)
Luminance0.2593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8B2E #2E419E
analogous
#9E532E #9E8B2E #799E2E
triadic
#9E8B2E #2E9E8B #8B2E9E
tetradic
#9E8B2E #2E9E53 #2E419E #9E2E79
square
#9E8B2E #2E9E53 #2E419E #9E2E79
split-complementary
#9E8B2E #2E799E #532E9E
monochromatic
#3F3812 #6F6120 #9E8B2E #C8B141 #D6C471

Accessibility & contrast

On white

3.39
#9E8B2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#9E8B2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8B2E
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8B2E#FFFFFF#000000##000000
##9E8B2E1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#998821
Deuteranopia (green-blind)
#9E8E33
Tritanopia (blue-blind)
#AA8078
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9e8b2e;
/* rgb */ color: rgb(158, 139, 46);
/* oklch */ color: oklch(63.7% 0.113 97.4);
Tailwind
colors: {
  custom: {
    50: '#beac6c',
    500: '#9e8b2e',
    950: '#000000',
  },
}
SCSS
$custom: #9e8b2e;
$custom-light: #beac6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8b2e",
  "rgb": {
    "r": 158,
    "g": 139,
    "b": 46
  },
  "hsl": {
    "h": 49.821,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.63651,
    "c": 0.11275,
    "h": 97.4
  },
  "luminance": 0.25932
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E8B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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