#9E8D2E#9E8D2E

#9E8D2E is a light, moderate yellow. Relative luminance 0.265; OKLCH L 64.1% C 0.114 H 98.9°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#9E8D2E
RGBrgb(158, 141, 46)
HSLhsl(51, 55%, 40%)
HSVhsv(51, 71%, 62%)
CMYKcmyk(0%, 10.8%, 70.9%, 38%)
CIE-LABlab(58.52, -4.67, 50.60)
CIE-LCHlch(58.52, 50.81, 95.28°)
OKLaboklab(64.09% -0.0177 0.113)
OKLCHoklch(64.09% 0.114 98.9)
XYZxyz(24.1197, 26.5173, 6.4321)
Luminance0.2652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8D2E #2E3F9E
analogous
#9E552E #9E8D2E #779E2E
triadic
#9E8D2E #2E9E8D #8D2E9E
tetradic
#9E8D2E #2E9E55 #2E3F9E #9E2E77
square
#9E8D2E #2E9E55 #2E3F9E #9E2E77
split-complementary
#9E8D2E #2E779E #552E9E
monochromatic
#3F3812 #6F6320 #9E8D2E #C8B341 #D6C671

Accessibility & contrast

On white

3.33
#9E8D2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#9E8D2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8D2E
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8D2E#FFFFFF#000000##000000
##9E8D2E1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8920
Deuteranopia (green-blind)
#9F8F34
Tritanopia (blue-blind)
#AA837A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9e8d2e;
/* rgb */ color: rgb(158, 141, 46);
/* oklch */ color: oklch(64.1% 0.114 98.9);
Tailwind
colors: {
  custom: {
    50: '#beae6d',
    500: '#9e8d2e',
    950: '#000000',
  },
}
SCSS
$custom: #9e8d2e;
$custom-light: #beae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8d2e",
  "rgb": {
    "r": 158,
    "g": 141,
    "b": 46
  },
  "hsl": {
    "h": 50.893,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.64088,
    "c": 0.11435,
    "h": 98.9
  },
  "luminance": 0.26516
}

Semantic roles & 50–950 ramp

primary
#9E8D2E
secondary
#6B77BD
accent
#60DE4A
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #9E8D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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