#9AA626#9AA626

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

Color values

HEX#9AA626
RGBrgb(154, 166, 38)
HSLhsl(66, 63%, 40%)
HSVhsv(66, 77%, 65%)
CMYKcmyk(7.2%, 0%, 77.1%, 34.9%)
CIE-LABlab(65.19, -19.99, 59.81)
CIE-LCHlch(65.19, 63.06, 108.48°)
OKLaboklab(69.3% -0.0612 0.1311)
OKLCHoklch(69.3% 0.145 115)
XYZxyz(27.3133, 34.2829, 7.0118)
Luminance0.3428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA626 #3226A6
analogous
#A67226 #9AA626 #5AA626
triadic
#9AA626 #269AA6 #A6269A
tetradic
#9AA626 #26A672 #3226A6 #A6265A
square
#9AA626 #26A672 #3226A6 #A6265A
split-complementary
#9AA626 #265AA6 #7226A6
monochromatic
#3E420F #6C741B #9AA626 #C3D138 #D2DD6A

Accessibility & contrast

On white

2.67
#9AA626 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#9AA626 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA626
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA626#FFFFFF#000000##000000
##9AA6261.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D03
Deuteranopia (green-blind)
#B29F32
Tritanopia (blue-blind)
#A49C8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9aa626;
/* rgb */ color: rgb(154, 166, 38);
/* oklch */ color: oklch(69.3% 0.145 115.0);
Tailwind
colors: {
  custom: {
    50: '#bbc06b',
    500: '#9aa626',
    950: '#000000',
  },
}
SCSS
$custom: #9aa626;
$custom-light: #bbc06b;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa626",
  "rgb": {
    "r": 154,
    "g": 166,
    "b": 38
  },
  "hsl": {
    "h": 65.625,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.69304,
    "c": 0.14472,
    "h": 115
  },
  "luminance": 0.34282
}

Semantic roles & 50–950 ramp

primary
#9AA626
secondary
#6E65C3
accent
#42E651
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9AA626

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

Preview Lab → · Contrast checker → · Palette generator →

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