#9AA81F#9AA81F

#9AA81F is a light, vivid yellow. Relative luminance 0.350; OKLCH L 69.7% C 0.150 H 115.7°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#9AA81F
RGBrgb(154, 168, 31)
HSLhsl(66, 69%, 39%)
HSVhsv(66, 82%, 66%)
CMYKcmyk(8.3%, 0%, 81.5%, 34.1%)
CIE-LABlab(65.73, -21.27, 62.37)
CIE-LCHlch(65.73, 65.90, 108.83°)
OKLaboklab(69.73% -0.0653 0.1354)
OKLCHoklch(69.73% 0.15 115.7)
XYZxyz(27.5772, 34.9747, 6.5941)
Luminance0.3497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA81F #2D1FA8
analogous
#A8721F #9AA81F #56A81F
triadic
#9AA81F #1F9AA8 #A81F9A
tetradic
#9AA81F #1FA872 #2D1FA8 #A81F56
square
#9AA81F #1FA872 #2D1FA8 #A81F56
split-complementary
#9AA81F #1F56A8 #721FA8
monochromatic
#3B410C #6B7415 #9AA81F #C7D82C #D4E260

Accessibility & contrast

On white

2.63
#9AA81F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#9AA81F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA81F
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA81F#FFFFFF#000000##000000
##9AA81F1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B3A12D
Tritanopia (blue-blind)
#A49E8F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9aa81f;
/* rgb */ color: rgb(154, 168, 31);
/* oklch */ color: oklch(69.7% 0.150 115.7);
Tailwind
colors: {
  custom: {
    50: '#bcc169',
    500: '#9aa81f',
    950: '#000000',
  },
}
SCSS
$custom: #9aa81f;
$custom-light: #bcc169;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa81f",
  "rgb": {
    "r": 154,
    "g": 168,
    "b": 31
  },
  "hsl": {
    "h": 66.131,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.69729,
    "c": 0.15027,
    "h": 115.7
  },
  "luminance": 0.34974
}

Semantic roles & 50–950 ramp

primary
#9AA81F
secondary
#675DC6
accent
#3CEC4E
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #9AA81F

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

Preview Lab → · Contrast checker → · Palette generator →

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