#9AAF22#9AAF22

#9AAF22 is a light, vivid yellow. Relative luminance 0.376; OKLCH L 71.4% C 0.157 H 118.3°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#9AAF22
RGBrgb(154, 175, 34)
HSLhsl(69, 67%, 41%)
HSVhsv(69, 81%, 69%)
CMYKcmyk(12%, 0%, 80.6%, 31.4%)
CIE-LABlab(67.76, -24.63, 63.33)
CIE-LCHlch(67.76, 67.95, 111.25°)
OKLaboklab(71.37% -0.0743 0.1379)
OKLCHoklch(71.37% 0.157 118.3)
XYZxyz(28.9458, 37.6457, 7.2545)
Luminance0.3765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AAF22 #3722AF
analogous
#AF7D22 #9AAF22 #53AF22
triadic
#9AAF22 #229AAF #AF229A
tetradic
#9AAF22 #22AF7D #3722AF #AF2253
square
#9AAF22 #22AF7D #3722AF #AF2253
split-complementary
#9AAF22 #2253AF #7D22AF
monochromatic
#40490E #6D7C18 #9AAF22 #C0D836 #D0E269

Accessibility & contrast

On white

2.46
#9AAF22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#9AAF22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AAF22
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AAF22#FFFFFF#000000##000000
##9AAF221.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#B9A630
Tritanopia (blue-blind)
#A4A596
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #9aaf22;
/* rgb */ color: rgb(154, 175, 34);
/* oklch */ color: oklch(71.4% 0.157 118.3);
Tailwind
colors: {
  custom: {
    50: '#bcc66b',
    500: '#9aaf22',
    950: '#000000',
  },
}
SCSS
$custom: #9aaf22;
$custom-light: #bcc66b;
$custom-dark: #000000;
JSON
{
  "hex": "#9aaf22",
  "rgb": {
    "r": 154,
    "g": 175,
    "b": 34
  },
  "hsl": {
    "h": 68.936,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.71366,
    "c": 0.15666,
    "h": 118.3
  },
  "luminance": 0.37645
}

Semantic roles & 50–950 ramp

primary
#9AAF22
secondary
#7465C8
accent
#3DEA57
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #9AAF22

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

Preview Lab → · Contrast checker → · Palette generator →

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