#9AA51F#9AA51F

#9AA51F is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.0% C 0.147 H 114.6°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#9AA51F
RGBrgb(154, 165, 31)
HSLhsl(65, 68%, 38%)
HSVhsv(65, 81%, 65%)
CMYKcmyk(6.7%, 0%, 81.2%, 35.3%)
CIE-LABlab(64.87, -19.76, 61.62)
CIE-LCHlch(64.87, 64.71, 107.78°)
OKLaboklab(69.04% -0.0611 0.1337)
OKLCHoklch(69.04% 0.147 114.6)
XYZxyz(27.0297, 33.8797, 6.4116)
Luminance0.3388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA51F #2A1FA5
analogous
#A56D1F #9AA51F #57A51F
triadic
#9AA51F #1F9AA5 #A51F9A
tetradic
#9AA51F #1FA56D #2A1FA5 #A51F57
square
#9AA51F #1FA56D #2A1FA5 #A51F57
split-complementary
#9AA51F #1F57A5 #6D1FA5
monochromatic
#3A3E0C #6A7115 #9AA51F #C9D72A #D6E15E

Accessibility & contrast

On white

2.70
#9AA51F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#9AA51F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA51F
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA51F#FFFFFF#000000##000000
##9AA51F1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29C00
Deuteranopia (green-blind)
#B19E2C
Tritanopia (blue-blind)
#A59B8D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9aa51f;
/* rgb */ color: rgb(154, 165, 31);
/* oklch */ color: oklch(69.0% 0.147 114.6);
Tailwind
colors: {
  custom: {
    50: '#bbbf68',
    500: '#9aa51f',
    950: '#000000',
  },
}
SCSS
$custom: #9aa51f;
$custom-light: #bbbf68;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa51f",
  "rgb": {
    "r": 154,
    "g": 165,
    "b": 31
  },
  "hsl": {
    "h": 64.925,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.69037,
    "c": 0.14704,
    "h": 114.6
  },
  "luminance": 0.33879
}

Semantic roles & 50–950 ramp

primary
#9AA51F
secondary
#635BC5
accent
#3DEB4B
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #9AA51F

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

Preview Lab → · Contrast checker → · Palette generator →

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