#9AA623#9AA623

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

Color values

HEX#9AA623
RGBrgb(154, 166, 35)
HSLhsl(65, 65%, 39%)
HSVhsv(65, 79%, 65%)
CMYKcmyk(7.2%, 0%, 78.9%, 34.9%)
CIE-LABlab(65.17, -20.12, 60.73)
CIE-LCHlch(65.17, 63.97, 108.33°)
OKLaboklab(69.29% -0.0618 0.1326)
OKLCHoklch(69.29% 0.146 115)
XYZxyz(27.2668, 34.2643, 6.7671)
Luminance0.3426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA623 #2F23A6
analogous
#A67123 #9AA623 #59A623
triadic
#9AA623 #239AA6 #A6239A
tetradic
#9AA623 #23A671 #2F23A6 #A62359
square
#9AA623 #23A671 #2F23A6 #A62359
split-complementary
#9AA623 #2359A6 #7123A6
monochromatic
#3C410E #6B7318 #9AA623 #C5D432 #D3DF65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9AA623#FFFFFF#000000##000000
##9AA6231.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9aa623;
/* rgb */ color: rgb(154, 166, 35);
/* oklch */ color: oklch(69.3% 0.146 115.0);
Tailwind
colors: {
  custom: {
    50: '#bbc06a',
    500: '#9aa623',
    950: '#000000',
  },
}
SCSS
$custom: #9aa623;
$custom-light: #bbc06a;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa623",
  "rgb": {
    "r": 154,
    "g": 166,
    "b": 35
  },
  "hsl": {
    "h": 65.496,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.69288,
    "c": 0.14625,
    "h": 115
  },
  "luminance": 0.34264
}

Semantic roles & 50–950 ramp

primary
#9AA623
secondary
#6A61C4
accent
#40E84F
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9AA623

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

Preview Lab → · Contrast checker → · Palette generator →

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