#9AA231#9AA231

#9AA231 is a light, vivid yellow. Relative luminance 0.329; OKLCH L 68.5% C 0.134 H 113.4°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#9AA231
RGBrgb(154, 162, 49)
HSLhsl(64, 54%, 41%)
HSVhsv(64, 70%, 64%)
CMYKcmyk(4.9%, 0%, 69.8%, 36.5%)
CIE-LABlab(64.11, -17.41, 54.87)
CIE-LCHlch(64.11, 57.57, 107.60°)
OKLaboklab(68.46% -0.053 0.1227)
OKLCHoklch(68.46% 0.134 113.4)
XYZxyz(26.8019, 32.9330, 7.8500)
Luminance0.3293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA231 #3931A2
analogous
#A27231 #9AA231 #62A231
triadic
#9AA231 #319AA2 #A2319A
tetradic
#9AA231 #31A272 #3931A2 #A23162
square
#9AA231 #31A272 #3931A2 #A23162
split-complementary
#9AA231 #3162A2 #7231A2
monochromatic
#414415 #6D7323 #9AA231 #BFC848 #CFD677

Accessibility & contrast

On white

2.77
#9AA231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#9AA231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA231
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA231#FFFFFF#000000##000000
##9AA2311.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A1F
Deuteranopia (green-blind)
#AE9D39
Tritanopia (blue-blind)
#A4988C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9aa231;
/* rgb */ color: rgb(154, 162, 49);
/* oklch */ color: oklch(68.5% 0.134 113.4);
Tailwind
colors: {
  custom: {
    50: '#bbbd70',
    500: '#9aa231',
    950: '#000000',
  },
}
SCSS
$custom: #9aa231;
$custom-light: #bbbd70;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa231",
  "rgb": {
    "r": 154,
    "g": 162,
    "b": 49
  },
  "hsl": {
    "h": 64.248,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.68459,
    "c": 0.13362,
    "h": 113.4
  },
  "luminance": 0.32932
}

Semantic roles & 50–950 ramp

primary
#9AA231
secondary
#7671BE
accent
#4BDD55
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9AA231

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

Preview Lab → · Contrast checker → · Palette generator →

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