#9E8729#9E8729

#9E8729 is a light, moderate yellow. Relative luminance 0.248; OKLCH L 62.7% C 0.113 H 94.9°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#9E8729
RGBrgb(158, 135, 41)
HSLhsl(48, 59%, 39%)
HSVhsv(48, 74%, 62%)
CMYKcmyk(0%, 14.6%, 74.1%, 38%)
CIE-LABlab(56.84, -1.64, 50.96)
CIE-LCHlch(56.84, 50.99, 91.84°)
OKLaboklab(62.74% -0.0096 0.1128)
OKLCHoklch(62.74% 0.113 94.9)
XYZxyz(23.1660, 24.7584, 5.6560)
Luminance0.2476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8729 #29409E
analogous
#9E4D29 #9E8729 #7B9E29
triadic
#9E8729 #299E87 #87299E
tetradic
#9E8729 #299E4D #29409E #9E297B
square
#9E8729 #299E4D #29409E #9E297B
split-complementary
#9E8729 #297B9E #4D299E
monochromatic
#3D3410 #6D5D1C #9E8729 #CCAF39 #D8C269

Accessibility & contrast

On white

3.53
#9E8729 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#9E8729 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8729
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8729#FFFFFF#000000##000000
##9E87291.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#95841A
Deuteranopia (green-blind)
#9B8B2E
Tritanopia (blue-blind)
#AB7C74
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9e8729;
/* rgb */ color: rgb(158, 135, 41);
/* oklch */ color: oklch(62.7% 0.113 94.9);
Tailwind
colors: {
  custom: {
    50: '#bea969',
    500: '#9e8729',
    950: '#000000',
  },
}
SCSS
$custom: #9e8729;
$custom-light: #bea969;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8729",
  "rgb": {
    "r": 158,
    "g": 135,
    "b": 41
  },
  "hsl": {
    "h": 48.205,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.62742,
    "c": 0.11319,
    "h": 94.9
  },
  "luminance": 0.24757
}

Semantic roles & 50–950 ramp

primary
#9E8729
secondary
#6476BF
accent
#65E246
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F07
muted
#827F7A

Preview Lab

Preview with #9E8729

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

Preview Lab → · Contrast checker → · Palette generator →

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