#9AA157#9AA157

#9AA157 is a light, moderate yellow. Relative luminance 0.330; OKLCH L 68.7% C 0.098 H 113.4°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#9AA157
RGBrgb(154, 161, 87)
HSLhsl(66, 30%, 49%)
HSVhsv(66, 46%, 63%)
CMYKcmyk(4.3%, 0%, 46%, 36.9%)
CIE-LABlab(64.20, -13.82, 37.50)
CIE-LCHlch(64.20, 39.97, 110.23°)
OKLaboklab(68.66% -0.039 0.09)
OKLCHoklch(68.66% 0.098 113.4)
XYZxyz(27.7920, 33.0483, 13.9299)
Luminance0.3305 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA157 #5E57A1
analogous
#A18357 #9AA157 #75A157
triadic
#9AA157 #579AA1 #A1579A
tetradic
#9AA157 #57A183 #5E57A1 #A15775
square
#9AA157 #57A183 #5E57A1 #A15775
split-complementary
#9AA157 #5775A1 #8357A1
monochromatic
#4E522C #747942 #9AA157 #B3B97D #CACEA4

Accessibility & contrast

On white

2.76
#9AA157 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#9AA157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA157
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA157#FFFFFF#000000##000000
##9AA1571.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9B51
Deuteranopia (green-blind)
#AA9C5B
Tritanopia (blue-blind)
#A29990
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9aa157;
/* rgb */ color: rgb(154, 161, 87);
/* oklch */ color: oklch(68.7% 0.098 113.4);
Tailwind
colors: {
  custom: {
    50: '#b9bc88',
    500: '#9aa157',
    950: '#000000',
  },
}
SCSS
$custom: #9aa157;
$custom-light: #b9bc88;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa157",
  "rgb": {
    "r": 154,
    "g": 161,
    "b": 87
  },
  "hsl": {
    "h": 65.676,
    "s": 29.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.68656,
    "c": 0.09804,
    "h": 113.4
  },
  "luminance": 0.33048
}

Semantic roles & 50–950 ramp

primary
#9AA157
secondary
#9B98BC
accent
#62C66B
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12120B
muted
#81817C

Preview Lab

Preview with #9AA157

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

Preview Lab → · Contrast checker → · Palette generator →

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