#9E8A29#9E8A29

#9E8A29 is a light, moderate yellow. Relative luminance 0.256; OKLCH L 63.4% C 0.115 H 97.1°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#9E8A29
RGBrgb(158, 138, 41)
HSLhsl(50, 59%, 39%)
HSVhsv(50, 74%, 62%)
CMYKcmyk(0%, 12.7%, 74.1%, 38%)
CIE-LABlab(57.66, -3.29, 51.76)
CIE-LCHlch(57.66, 51.87, 93.64°)
OKLaboklab(63.39% -0.0143 0.1145)
OKLCHoklch(63.39% 0.115 97.1)
XYZxyz(23.5905, 25.6074, 5.7975)
Luminance0.2561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8A29 #293D9E
analogous
#9E5029 #9E8A29 #789E29
triadic
#9E8A29 #299E8A #8A299E
tetradic
#9E8A29 #299E50 #293D9E #9E2978
square
#9E8A29 #299E50 #293D9E #9E2978
split-complementary
#9E8A29 #29789E #50299E
monochromatic
#3D3510 #6D601C #9E8A29 #CCB239 #D8C569

Accessibility & contrast

On white

3.43
#9E8A29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#9E8A29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8A29
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8A29#FFFFFF#000000##000000
##9E8A291.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#988719
Deuteranopia (green-blind)
#9D8D2F
Tritanopia (blue-blind)
#AB7F77
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9e8a29;
/* rgb */ color: rgb(158, 138, 41);
/* oklch */ color: oklch(63.4% 0.115 97.1);
Tailwind
colors: {
  custom: {
    50: '#beab6a',
    500: '#9e8a29',
    950: '#000000',
  },
}
SCSS
$custom: #9e8a29;
$custom-light: #beab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8a29",
  "rgb": {
    "r": 158,
    "g": 138,
    "b": 41
  },
  "hsl": {
    "h": 49.744,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63393,
    "c": 0.11537,
    "h": 97.1
  },
  "luminance": 0.25606
}

Semantic roles & 50–950 ramp

primary
#9E8A29
secondary
#6474BF
accent
#61E246
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9E8A29

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

Preview Lab → · Contrast checker → · Palette generator →

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