#9A8D2F#9A8D2F

#9A8D2F is a light, moderate yellow. Relative luminance 0.261; OKLCH L 63.7% C 0.114 H 101.3°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#9A8D2F
RGBrgb(154, 141, 47)
HSLhsl(53, 53%, 39%)
HSVhsv(53, 69%, 60%)
CMYKcmyk(0%, 8.4%, 69.5%, 39.6%)
CIE-LABlab(58.16, -6.42, 49.69)
CIE-LCHlch(58.16, 50.10, 97.36°)
OKLaboklab(63.71% -0.0223 0.1114)
OKLCHoklch(63.71% 0.114 101.3)
XYZxyz(23.3654, 26.1260, 6.5008)
Luminance0.2612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8D2F #2F3C9A
analogous
#9A572F #9A8D2F #729A2F
triadic
#9A8D2F #2F9A8D #8D2F9A
tetradic
#9A8D2F #2F9A57 #2F3C9A #9A2F72
square
#9A8D2F #2F9A57 #2F3C9A #9A2F72
split-complementary
#9A8D2F #2F729A #572F9A
monochromatic
#3C3712 #6B6221 #9A8D2F #C5B541 #D3C770

Accessibility & contrast

On white

3.37
#9A8D2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#9A8D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A8D2F
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8D2F#FFFFFF#000000##000000
##9A8D2F1.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8922
Deuteranopia (green-blind)
#9E8E35
Tritanopia (blue-blind)
#A6837A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9a8d2f;
/* rgb */ color: rgb(154, 141, 47);
/* oklch */ color: oklch(63.7% 0.114 101.3);
Tailwind
colors: {
  custom: {
    50: '#bbae6d',
    500: '#9a8d2f',
    950: '#000000',
  },
}
SCSS
$custom: #9a8d2f;
$custom-light: #bbae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8d2f",
  "rgb": {
    "r": 154,
    "g": 141,
    "b": 47
  },
  "hsl": {
    "h": 52.71,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.63709,
    "c": 0.11357,
    "h": 101.3
  },
  "luminance": 0.26125
}

Semantic roles & 50–950 ramp

primary
#9A8D2F
secondary
#6A74BB
accent
#5DDD4B
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9A8D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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