#9E8925#9E8925

#9E8925 is a light, moderate yellow. Relative luminance 0.253; OKLCH L 63.1% C 0.117 H 96.7°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#9E8925
RGBrgb(158, 137, 37)
HSLhsl(50, 62%, 38%)
HSVhsv(50, 77%, 62%)
CMYKcmyk(0%, 13.3%, 76.6%, 38%)
CIE-LABlab(57.36, -2.92, 53.00)
CIE-LCHlch(57.36, 53.08, 93.16°)
OKLaboklab(63.15% -0.0137 0.1163)
OKLCHoklch(63.15% 0.117 96.7)
XYZxyz(23.3814, 25.2952, 5.4008)
Luminance0.2529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8925 #253A9E
analogous
#9E4C25 #9E8925 #769E25
triadic
#9E8925 #259E89 #89259E
tetradic
#9E8925 #259E4C #253A9E #9E2576
square
#9E8925 #259E4C #253A9E #9E2576
split-complementary
#9E8925 #25769E #4C259E
monochromatic
#3B330E #6C5E19 #9E8925 #CFB431 #DAC663

Accessibility & contrast

On white

3.47
#9E8925 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#9E8925 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8925
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8925#FFFFFF#000000##000000
##9E89251.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#978612
Deuteranopia (green-blind)
#9D8D2B
Tritanopia (blue-blind)
#AB7E76
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9e8925;
/* rgb */ color: rgb(158, 137, 37);
/* oklch */ color: oklch(63.1% 0.117 96.7);
Tailwind
colors: {
  custom: {
    50: '#beab67',
    500: '#9e8925',
    950: '#000000',
  },
}
SCSS
$custom: #9e8925;
$custom-light: #beab67;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8925",
  "rgb": {
    "r": 158,
    "g": 137,
    "b": 37
  },
  "hsl": {
    "h": 49.587,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.63147,
    "c": 0.11712,
    "h": 96.7
  },
  "luminance": 0.25294
}

Semantic roles & 50–950 ramp

primary
#9E8925
secondary
#5F70C0
accent
#5FE543
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9E8925

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

Preview Lab → · Contrast checker → · Palette generator →

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