#9AA01F#9AA01F

#9AA01F is a light, vivid yellow. Relative luminance 0.321; OKLCH L 67.9% C 0.142 H 112.4°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#9AA01F
RGBrgb(154, 160, 31)
HSLhsl(63, 68%, 37%)
HSVhsv(63, 81%, 63%)
CMYKcmyk(3.8%, 0%, 80.6%, 37.3%)
CIE-LABlab(63.43, -17.21, 60.36)
CIE-LCHlch(63.43, 62.76, 105.92°)
OKLaboklab(67.89% -0.0541 0.131)
OKLCHoklch(67.89% 0.142 112.4)
XYZxyz(26.1455, 32.1112, 6.1169)
Luminance0.3211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA01F #251FA0
analogous
#A0661F #9AA01F #59A01F
triadic
#9AA01F #1F9AA0 #A01F9A
tetradic
#9AA01F #1FA066 #251FA0 #A01F59
square
#9AA01F #1FA066 #251FA0 #A01F59
split-complementary
#9AA01F #1F59A0 #661FA0
monochromatic
#37390B #696D15 #9AA01F #CBD329 #D9DF5A

Accessibility & contrast

On white

2.83
#9AA01F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#9AA01F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA01F
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA01F#FFFFFF#000000##000000
##9AA01F1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#AD9B2B
Tritanopia (blue-blind)
#A59689
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9aa01f;
/* rgb */ color: rgb(154, 160, 31);
/* oklch */ color: oklch(67.9% 0.142 112.4);
Tailwind
colors: {
  custom: {
    50: '#bbbb68',
    500: '#9aa01f',
    950: '#000000',
  },
}
SCSS
$custom: #9aa01f;
$custom-light: #bbbb68;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa01f",
  "rgb": {
    "r": 154,
    "g": 160,
    "b": 31
  },
  "hsl": {
    "h": 62.791,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.67889,
    "c": 0.14175,
    "h": 112.4
  },
  "luminance": 0.32111
}

Semantic roles & 50–950 ramp

primary
#9AA01F
secondary
#5D58C3
accent
#3DEA45
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9AA01F

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

Preview Lab → · Contrast checker → · Palette generator →

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