#9E8D30#9E8D30

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

Color values

HEX#9E8D30
RGBrgb(158, 141, 48)
HSLhsl(51, 53%, 40%)
HSVhsv(51, 70%, 62%)
CMYKcmyk(0%, 10.8%, 69.6%, 38%)
CIE-LABlab(58.54, -4.56, 49.78)
CIE-LCHlch(58.54, 49.99, 95.24°)
OKLaboklab(64.11% -0.0171 0.1116)
OKLCHoklch(64.11% 0.113 98.7)
XYZxyz(24.1600, 26.5334, 6.6446)
Luminance0.2653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8D30 #30419E
analogous
#9E5630 #9E8D30 #789E30
triadic
#9E8D30 #309E8D #8D309E
tetradic
#9E8D30 #309E56 #30419E #9E3078
square
#9E8D30 #309E56 #30419E #9E3078
split-complementary
#9E8D30 #30789E #56309E
monochromatic
#403913 #6F6322 #9E8D30 #C6B245 #D5C674

Accessibility & contrast

On white

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

On black

6.31
#9E8D30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8D30
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8D30#FFFFFF#000000##000000
##9E8D301.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e8d30;
/* rgb */ color: rgb(158, 141, 48);
/* oklch */ color: oklch(64.1% 0.113 98.7);
Tailwind
colors: {
  custom: {
    50: '#beae6e',
    500: '#9e8d30',
    950: '#000000',
  },
}
SCSS
$custom: #9e8d30;
$custom-light: #beae6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8d30",
  "rgb": {
    "r": 158,
    "g": 141,
    "b": 48
  },
  "hsl": {
    "h": 50.727,
    "s": 53.398,
    "l": 40.392
  },
  "oklch": {
    "l": 0.64105,
    "c": 0.1129,
    "h": 98.7
  },
  "luminance": 0.26532
}

Semantic roles & 50–950 ramp

primary
#9E8D30
secondary
#6D79BD
accent
#62DD4B
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #9E8D30

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

Preview Lab → · Contrast checker → · Palette generator →

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