#9E8A34#9E8A34

#9E8A34 is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.5% C 0.107 H 96.0°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#9E8A34
RGBrgb(158, 138, 52)
HSLhsl(49, 50%, 41%)
HSVhsv(49, 67%, 62%)
CMYKcmyk(0%, 12.7%, 67.1%, 38%)
CIE-LABlab(57.75, -2.68, 47.21)
CIE-LCHlch(57.75, 47.28, 93.25°)
OKLaboklab(63.49% -0.0113 0.1069)
OKLCHoklch(63.49% 0.107 96)
XYZxyz(23.8100, 25.6952, 6.9537)
Luminance0.2569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8A34 #34489E
analogous
#9E5534 #9E8A34 #7D9E34
triadic
#9E8A34 #349E8A #8A349E
tetradic
#9E8A34 #349E55 #34489E #9E347D
square
#9E8A34 #349E55 #34489E #9E347D
split-complementary
#9E8A34 #347D9E #55349E
monochromatic
#423A16 #706225 #9E8A34 #C4AD4B #D3C279

Accessibility & contrast

On white

3.42
#9E8A34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#9E8A34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8A34
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8A34#FFFFFF#000000##000000
##9E8A341.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e8a34;
/* rgb */ color: rgb(158, 138, 52);
/* oklch */ color: oklch(63.5% 0.107 96.0);
Tailwind
colors: {
  custom: {
    50: '#beab70',
    500: '#9e8a34',
    950: '#000000',
  },
}
SCSS
$custom: #9e8a34;
$custom-light: #beab70;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8a34",
  "rgb": {
    "r": 158,
    "g": 138,
    "b": 52
  },
  "hsl": {
    "h": 48.679,
    "s": 50.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.63487,
    "c": 0.10745,
    "h": 96
  },
  "luminance": 0.25694
}

Semantic roles & 50–950 ramp

primary
#9E8A34
secondary
#7280BC
accent
#68DA4E
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #9E8A34

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

Preview Lab → · Contrast checker → · Palette generator →

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