#9E8F29#9E8F29

#9E8F29 is a light, moderate yellow. Relative luminance 0.271; OKLCH L 64.5% C 0.119 H 100.7°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#9E8F29
RGBrgb(158, 143, 41)
HSLhsl(52, 59%, 39%)
HSVhsv(52, 74%, 62%)
CMYKcmyk(0%, 9.5%, 74.1%, 38%)
CIE-LABlab(59.04, -6.02, 53.10)
CIE-LCHlch(59.04, 53.44, 96.47°)
OKLaboklab(64.49% -0.0221 0.1173)
OKLCHoklch(64.49% 0.119 100.7)
XYZxyz(24.3244, 27.0752, 6.0422)
Luminance0.2707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8F29 #29389E
analogous
#9E5529 #9E8F29 #739E29
triadic
#9E8F29 #299E8F #8F299E
tetradic
#9E8F29 #299E55 #29389E #9E2973
square
#9E8F29 #299E55 #29389E #9E2973
split-complementary
#9E8F29 #29739E #55299E
monochromatic
#3D3710 #6D631C #9E8F29 #CCB939 #D8CA69

Accessibility & contrast

On white

3.27
#9E8F29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#9E8F29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8F29
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8F29#FFFFFF#000000##000000
##9E8F291.003.276.416.41
#FFFFFF3.271.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B17
Deuteranopia (green-blind)
#A19130
Tritanopia (blue-blind)
#AA847B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9e8f29;
/* rgb */ color: rgb(158, 143, 41);
/* oklch */ color: oklch(64.5% 0.119 100.7);
Tailwind
colors: {
  custom: {
    50: '#beaf6a',
    500: '#9e8f29',
    950: '#000000',
  },
}
SCSS
$custom: #9e8f29;
$custom-light: #beaf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8f29",
  "rgb": {
    "r": 158,
    "g": 143,
    "b": 41
  },
  "hsl": {
    "h": 52.308,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.64489,
    "c": 0.11938,
    "h": 100.7
  },
  "luminance": 0.27074
}

Semantic roles & 50–950 ramp

primary
#9E8F29
secondary
#6470BF
accent
#5AE246
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9E8F29

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

Preview Lab → · Contrast checker → · Palette generator →

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