#9E8F3C#9E8F3C

#9E8F3C is a light, moderate yellow. Relative luminance 0.272; OKLCH L 64.7% C 0.105 H 99.1°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#9E8F3C
RGBrgb(158, 143, 60)
HSLhsl(51, 45%, 43%)
HSVhsv(51, 62%, 62%)
CMYKcmyk(0%, 9.5%, 62%, 38%)
CIE-LABlab(59.20, -4.88, 45.09)
CIE-LCHlch(59.20, 45.35, 96.18°)
OKLaboklab(64.66% -0.0166 0.1036)
OKLCHoklch(64.66% 0.105 99.1)
XYZxyz(24.7396, 27.2413, 8.2291)
Luminance0.2724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8F3C #3C4B9E
analogous
#9E5E3C #9E8F3C #7C9E3C
triadic
#9E8F3C #3C9E8F #8F3C9E
tetradic
#9E8F3C #3C9E5E #3C4B9E #9E3C7C
square
#9E8F3C #3C9E5E #3C4B9E #9E3C7C
split-complementary
#9E8F3C #3C7C9E #5E3C9E
monochromatic
#453F1A #72672B #9E8F3C #BFB058 #D0C584

Accessibility & contrast

On white

3.26
#9E8F3C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#9E8F3C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8F3C
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8F3C#FFFFFF#000000##000000
##9E8F3C1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8B33
Deuteranopia (green-blind)
#A09140
Tritanopia (blue-blind)
#AA857D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9e8f3c;
/* rgb */ color: rgb(158, 143, 60);
/* oklch */ color: oklch(64.7% 0.105 99.1);
Tailwind
colors: {
  custom: {
    50: '#bdaf75',
    500: '#9e8f3c',
    950: '#000000',
  },
}
SCSS
$custom: #9e8f3c;
$custom-light: #bdaf75;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8f3c",
  "rgb": {
    "r": 158,
    "g": 143,
    "b": 60
  },
  "hsl": {
    "h": 50.816,
    "s": 44.954,
    "l": 42.745
  },
  "oklch": {
    "l": 0.64659,
    "c": 0.1049,
    "h": 99.1
  },
  "luminance": 0.2724
}

Semantic roles & 50–950 ramp

primary
#9E8F3C
secondary
#7B85BA
accent
#67D553
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9E8F3C

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

Preview Lab → · Contrast checker → · Palette generator →

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