#9A8F4E#9A8F4E

#9A8F4E is a light, moderate yellow. Relative luminance 0.271; OKLCH L 64.5% C 0.087 H 99.9°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#9A8F4E
RGBrgb(154, 143, 78)
HSLhsl(51, 33%, 45%)
HSVhsv(51, 49%, 60%)
CMYKcmyk(0%, 7.1%, 49.4%, 39.6%)
CIE-LABlab(59.04, -5.11, 35.83)
CIE-LCHlch(59.04, 36.20, 98.12°)
OKLaboklab(64.51% -0.0149 0.0856)
OKLCHoklch(64.51% 0.087 99.9)
XYZxyz(24.5247, 27.0659, 11.1386)
Luminance0.2707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8F4E #4E599A
analogous
#9A694E #9A8F4E #7F9A4E
triadic
#9A8F4E #4E9A8F #8F4E9A
tetradic
#9A8F4E #4E9A69 #4E599A #9A4E7F
square
#9A8F4E #4E9A69 #4E599A #9A4E7F
split-complementary
#9A8F4E #4E7F9A #694E9A
monochromatic
#494425 #716939 #9A8F4E #B6AC6F #CBC398

Accessibility & contrast

On white

3.27
#9A8F4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A8F4E#FFFFFF#000000##000000
##9A8F4E1.003.276.416.41
#FFFFFF3.271.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8C48
Deuteranopia (green-blind)
#9D9051
Tritanopia (blue-blind)
#A48780
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9a8f4e;
/* rgb */ color: rgb(154, 143, 78);
/* oklch */ color: oklch(64.5% 0.087 99.9);
Tailwind
colors: {
  custom: {
    50: '#b9af81',
    500: '#9a8f4e',
    950: '#000000',
  },
}
SCSS
$custom: #9a8f4e;
$custom-light: #b9af81;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8f4e",
  "rgb": {
    "r": 154,
    "g": 143,
    "b": 78
  },
  "hsl": {
    "h": 51.316,
    "s": 32.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.6451,
    "c": 0.08687,
    "h": 99.9
  },
  "luminance": 0.27065
}

Semantic roles & 50–950 ramp

primary
#9A8F4E
secondary
#8D93B7
accent
#6EC95F
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #9A8F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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