#9AA229#9AA229

#9AA229 is a light, vivid yellow. Relative luminance 0.329; OKLCH L 68.4% C 0.139 H 113.3°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#9AA229
RGBrgb(154, 162, 41)
HSLhsl(64, 60%, 40%)
HSVhsv(64, 75%, 64%)
CMYKcmyk(4.9%, 0%, 74.7%, 36.5%)
CIE-LABlab(64.06, -17.82, 57.76)
CIE-LCHlch(64.06, 60.45, 107.15°)
OKLaboklab(68.4% -0.0549 0.1273)
OKLCHoklch(68.4% 0.139 113.3)
XYZxyz(26.6478, 32.8714, 7.0384)
Luminance0.3287 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA229 #3129A2
analogous
#A26E29 #9AA229 #5EA229
triadic
#9AA229 #299AA2 #A2299A
tetradic
#9AA229 #29A26E #3129A2 #A2295E
square
#9AA229 #29A26E #3129A2 #A2295E
split-complementary
#9AA229 #295EA2 #6E29A2
monochromatic
#3D4010 #6C711D #9AA229 #C4CD3B #D2DA6C

Accessibility & contrast

On white

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

On black

7.57
#9AA229 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA229
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA229#FFFFFF#000000##000000
##9AA2291.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A0F
Deuteranopia (green-blind)
#AE9C33
Tritanopia (blue-blind)
#A5988B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9aa229;
/* rgb */ color: rgb(154, 162, 41);
/* oklch */ color: oklch(68.4% 0.139 113.3);
Tailwind
colors: {
  custom: {
    50: '#bbbd6c',
    500: '#9aa229',
    950: '#000000',
  },
}
SCSS
$custom: #9aa229;
$custom-light: #bbbd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa229",
  "rgb": {
    "r": 154,
    "g": 162,
    "b": 41
  },
  "hsl": {
    "h": 63.967,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.68403,
    "c": 0.13868,
    "h": 113.3
  },
  "luminance": 0.32871
}

Semantic roles & 50–950 ramp

primary
#9AA229
secondary
#6C67C0
accent
#45E34F
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9AA229

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

Preview Lab → · Contrast checker → · Palette generator →

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