#9E8F25#9E8F25

#9E8F25 is a light, vivid yellow. Relative luminance 0.270; OKLCH L 64.5% C 0.122 H 100.9°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#9E8F25
RGBrgb(158, 143, 37)
HSLhsl(53, 62%, 38%)
HSVhsv(53, 77%, 62%)
CMYKcmyk(0%, 9.5%, 76.6%, 38%)
CIE-LABlab(59.02, -6.20, 54.56)
CIE-LCHlch(59.02, 54.91, 96.48°)
OKLaboklab(64.46% -0.023 0.1196)
OKLCHoklch(64.46% 0.122 100.9)
XYZxyz(24.2581, 27.0487, 5.6931)
Luminance0.2705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8F25 #25349E
analogous
#9E5225 #9E8F25 #709E25
triadic
#9E8F25 #259E8F #8F259E
tetradic
#9E8F25 #259E52 #25349E #9E2570
square
#9E8F25 #259E52 #25349E #9E2570
split-complementary
#9E8F25 #25709E #52259E
monochromatic
#3B350E #6C6219 #9E8F25 #CFBB31 #DACC63

Accessibility & contrast

On white

3.28
#9E8F25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E8F25#FFFFFF#000000##000000
##9E8F251.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B0F
Deuteranopia (green-blind)
#A1912C
Tritanopia (blue-blind)
#AB847B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9e8f25;
/* rgb */ color: rgb(158, 143, 37);
/* oklch */ color: oklch(64.5% 0.122 100.9);
Tailwind
colors: {
  custom: {
    50: '#beaf68',
    500: '#9e8f25',
    950: '#000000',
  },
}
SCSS
$custom: #9e8f25;
$custom-light: #beaf68;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8f25",
  "rgb": {
    "r": 158,
    "g": 143,
    "b": 37
  },
  "hsl": {
    "h": 52.562,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.64461,
    "c": 0.12181,
    "h": 100.9
  },
  "luminance": 0.27048
}

Semantic roles & 50–950 ramp

primary
#9E8F25
secondary
#5F6BC0
accent
#57E543
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9E8F25

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

Preview Lab → · Contrast checker → · Palette generator →

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