#9E8A30#9E8A30

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

Color values

HEX#9E8A30
RGBrgb(158, 138, 48)
HSLhsl(49, 53%, 40%)
HSVhsv(49, 70%, 62%)
CMYKcmyk(0%, 12.7%, 69.6%, 38%)
CIE-LABlab(57.71, -2.92, 48.93)
CIE-LCHlch(57.71, 49.02, 93.41°)
OKLaboklab(63.45% -0.0125 0.1098)
OKLCHoklch(63.45% 0.111 96.5)
XYZxyz(23.7237, 25.6607, 6.4991)
Luminance0.2566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8A30 #30449E
analogous
#9E5330 #9E8A30 #7B9E30
triadic
#9E8A30 #309E8A #8A309E
tetradic
#9E8A30 #309E53 #30449E #9E307B
square
#9E8A30 #309E53 #30449E #9E307B
split-complementary
#9E8A30 #307B9E #53309E
monochromatic
#403813 #6F6122 #9E8A30 #C6AF45 #D5C374

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E8A30#FFFFFF#000000##000000
##9E8A301.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e8a30;
/* rgb */ color: rgb(158, 138, 48);
/* oklch */ color: oklch(63.4% 0.111 96.5);
Tailwind
colors: {
  custom: {
    50: '#beab6d',
    500: '#9e8a30',
    950: '#000000',
  },
}
SCSS
$custom: #9e8a30;
$custom-light: #beab6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8a30",
  "rgb": {
    "r": 158,
    "g": 138,
    "b": 48
  },
  "hsl": {
    "h": 49.091,
    "s": 53.398,
    "l": 40.392
  },
  "oklch": {
    "l": 0.6345,
    "c": 0.11052,
    "h": 96.5
  },
  "luminance": 0.25659
}

Semantic roles & 50–950 ramp

primary
#9E8A30
secondary
#6D7CBD
accent
#66DD4B
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #9E8A30

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

Preview Lab → · Contrast checker → · Palette generator →

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