#9AA61F#9AA61F

#9AA61F is a light, vivid yellow. Relative luminance 0.342; OKLCH L 69.3% C 0.148 H 115.0°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#9AA61F
RGBrgb(154, 166, 31)
HSLhsl(65, 69%, 39%)
HSVhsv(65, 81%, 65%)
CMYKcmyk(7.2%, 0%, 81.3%, 34.9%)
CIE-LABlab(65.15, -20.27, 61.87)
CIE-LCHlch(65.15, 65.10, 108.14°)
OKLaboklab(69.27% -0.0625 0.1343)
OKLCHoklch(69.27% 0.148 115)
XYZxyz(27.2108, 34.2419, 6.4720)
Luminance0.3424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA61F #2B1FA6
analogous
#A66E1F #9AA61F #56A61F
triadic
#9AA61F #1F9AA6 #A61F9A
tetradic
#9AA61F #1FA66E #2B1FA6 #A61F56
square
#9AA61F #1FA66E #2B1FA6 #A61F56
split-complementary
#9AA61F #1F56A6 #6E1FA6
monochromatic
#3A3F0C #6A7215 #9AA61F #C8D72B #D5E15E

Accessibility & contrast

On white

2.68
#9AA61F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#9AA61F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA61F
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA61F#FFFFFF#000000##000000
##9AA61F1.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#B29F2D
Tritanopia (blue-blind)
#A59C8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9aa61f;
/* rgb */ color: rgb(154, 166, 31);
/* oklch */ color: oklch(69.3% 0.148 115.0);
Tailwind
colors: {
  custom: {
    50: '#bcc068',
    500: '#9aa61f',
    950: '#000000',
  },
}
SCSS
$custom: #9aa61f;
$custom-light: #bcc068;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa61f",
  "rgb": {
    "r": 154,
    "g": 166,
    "b": 31
  },
  "hsl": {
    "h": 65.333,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.69268,
    "c": 0.14811,
    "h": 115
  },
  "luminance": 0.34241
}

Semantic roles & 50–950 ramp

primary
#9AA61F
secondary
#655BC5
accent
#3CEB4C
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #9AA61F

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

Preview Lab → · Contrast checker → · Palette generator →

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