#9E8625#9E8625

#9E8625 is a light, moderate yellow. Relative luminance 0.245; OKLCH L 62.5% C 0.115 H 94.5°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#9E8625
RGBrgb(158, 134, 37)
HSLhsl(48, 62%, 38%)
HSVhsv(48, 77%, 62%)
CMYKcmyk(0%, 15.2%, 76.6%, 38%)
CIE-LABlab(56.54, -1.27, 52.23)
CIE-LCHlch(56.54, 52.24, 91.39°)
OKLaboklab(62.5% -0.009 0.1147)
OKLCHoklch(62.5% 0.115 94.5)
XYZxyz(22.9608, 24.4542, 5.2606)
Luminance0.2445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8625 #253D9E
analogous
#9E4925 #9E8625 #799E25
triadic
#9E8625 #259E86 #86259E
tetradic
#9E8625 #259E49 #253D9E #9E2579
square
#9E8625 #259E49 #253D9E #9E2579
split-complementary
#9E8625 #25799E #49259E
monochromatic
#3B320E #6C5C19 #9E8625 #CFB031 #DAC363

Accessibility & contrast

On white

3.57
#9E8625 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#9E8625 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8625
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8625#FFFFFF#000000##000000
##9E86251.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#958313
Deuteranopia (green-blind)
#9B8B2B
Tritanopia (blue-blind)
#AB7B73
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9e8625;
/* rgb */ color: rgb(158, 134, 37);
/* oklch */ color: oklch(62.5% 0.115 94.5);
Tailwind
colors: {
  custom: {
    50: '#bea867',
    500: '#9e8625',
    950: '#000000',
  },
}
SCSS
$custom: #9e8625;
$custom-light: #bea867;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8625",
  "rgb": {
    "r": 158,
    "g": 134,
    "b": 37
  },
  "hsl": {
    "h": 48.099,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.62497,
    "c": 0.11501,
    "h": 94.5
  },
  "luminance": 0.24453
}

Semantic roles & 50–950 ramp

primary
#9E8625
secondary
#5F72C0
accent
#63E543
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9E8625

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

Preview Lab → · Contrast checker → · Palette generator →

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