#9AA256#9AA256

#9AA256 is a light, moderate yellow. Relative luminance 0.334; OKLCH L 68.9% C 0.100 H 114.0°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#9AA256
RGBrgb(154, 162, 86)
HSLhsl(66, 31%, 49%)
HSVhsv(66, 47%, 64%)
CMYKcmyk(4.9%, 0%, 46.9%, 36.5%)
CIE-LABlab(64.47, -14.45, 38.34)
CIE-LCHlch(64.47, 40.97, 110.65°)
OKLaboklab(68.87% -0.0408 0.0918)
OKLCHoklch(68.87% 0.1 114)
XYZxyz(27.9268, 33.3830, 13.7747)
Luminance0.3338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA256 #5E56A2
analogous
#A28456 #9AA256 #74A256
triadic
#9AA256 #569AA2 #A2569A
tetradic
#9AA256 #56A284 #5E56A2 #A25674
square
#9AA256 #56A284 #5E56A2 #A25674
split-complementary
#9AA256 #5674A2 #8456A2
monochromatic
#4E522C #747A41 #9AA256 #B3B97C #CACFA4

Accessibility & contrast

On white

2.74
#9AA256 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#9AA256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA256
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA256#FFFFFF#000000##000000
##9AA2561.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9C50
Deuteranopia (green-blind)
#AB9D5A
Tritanopia (blue-blind)
#A29A90
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9aa256;
/* rgb */ color: rgb(154, 162, 86);
/* oklch */ color: oklch(68.9% 0.100 114.0);
Tailwind
colors: {
  custom: {
    50: '#b9bd87',
    500: '#9aa256',
    950: '#000000',
  },
}
SCSS
$custom: #9aa256;
$custom-light: #b9bd87;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa256",
  "rgb": {
    "r": 154,
    "g": 162,
    "b": 86
  },
  "hsl": {
    "h": 66.316,
    "s": 30.645,
    "l": 48.627
  },
  "oklch": {
    "l": 0.68867,
    "c": 0.10043,
    "h": 114
  },
  "luminance": 0.33383
}

Semantic roles & 50–950 ramp

primary
#9AA256
secondary
#9B98BC
accent
#61C76C
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12120B
muted
#81817C

Preview Lab

Preview with #9AA256

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

Preview Lab → · Contrast checker → · Palette generator →

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