#9E8D29#9E8D29

#9E8D29 is a light, moderate yellow. Relative luminance 0.265; OKLCH L 64.0% C 0.118 H 99.3°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#9E8D29
RGBrgb(158, 141, 41)
HSLhsl(51, 59%, 39%)
HSVhsv(51, 74%, 62%)
CMYKcmyk(0%, 10.8%, 74.1%, 38%)
CIE-LABlab(58.49, -4.93, 52.57)
CIE-LCHlch(58.49, 52.80, 95.36°)
OKLaboklab(64.05% -0.019 0.1162)
OKLCHoklch(64.05% 0.118 99.3)
XYZxyz(24.0268, 26.4801, 5.9430)
Luminance0.2648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8D29 #293A9E
analogous
#9E5329 #9E8D29 #759E29
triadic
#9E8D29 #299E8D #8D299E
tetradic
#9E8D29 #299E53 #293A9E #9E2975
square
#9E8D29 #299E53 #293A9E #9E2975
split-complementary
#9E8D29 #29759E #53299E
monochromatic
#3D3610 #6D621C #9E8D29 #CCB639 #D8C869

Accessibility & contrast

On white

3.34
#9E8D29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#9E8D29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8D29
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8D29#FFFFFF#000000##000000
##9E8D291.003.346.306.30
#FFFFFF3.341.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8918
Deuteranopia (green-blind)
#A08F2F
Tritanopia (blue-blind)
#AB8279
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9e8d29;
/* rgb */ color: rgb(158, 141, 41);
/* oklch */ color: oklch(64.0% 0.118 99.3);
Tailwind
colors: {
  custom: {
    50: '#beae6a',
    500: '#9e8d29',
    950: '#000000',
  },
}
SCSS
$custom: #9e8d29;
$custom-light: #beae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8d29",
  "rgb": {
    "r": 158,
    "g": 141,
    "b": 41
  },
  "hsl": {
    "h": 51.282,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.64049,
    "c": 0.11772,
    "h": 99.3
  },
  "luminance": 0.26479
}

Semantic roles & 50–950 ramp

primary
#9E8D29
secondary
#6471BF
accent
#5DE246
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9E8D29

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

Preview Lab → · Contrast checker → · Palette generator →

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