#9AA545#9AA545

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

Color values

HEX#9AA545
RGBrgb(154, 165, 69)
HSLhsl(67, 41%, 46%)
HSVhsv(67, 58%, 65%)
CMYKcmyk(6.7%, 0%, 58.2%, 35.3%)
CIE-LABlab(65.13, -17.57, 47.40)
CIE-LCHlch(65.13, 50.55, 110.34°)
OKLaboklab(69.33% -0.0514 0.1098)
OKLCHoklch(69.33% 0.121 115.1)
XYZxyz(27.8563, 34.2104, 10.7649)
Luminance0.3421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA545 #5045A5
analogous
#A58045 #9AA545 #6AA545
triadic
#9AA545 #459AA5 #A5459A
tetradic
#9AA545 #45A580 #5045A5 #A5456A
square
#9AA545 #45A580 #5045A5 #A5456A
split-complementary
#9AA545 #456AA5 #8045A5
monochromatic
#494F21 #727A33 #9AA545 #B6C068 #CAD293

Accessibility & contrast

On white

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

On black

7.84
#9AA545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA545
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA545#FFFFFF#000000##000000
##9AA5451.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D3B
Deuteranopia (green-blind)
#AF9F4B
Tritanopia (blue-blind)
#A39C90
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9aa545;
/* rgb */ color: rgb(154, 165, 69);
/* oklch */ color: oklch(69.3% 0.121 115.1);
Tailwind
colors: {
  custom: {
    50: '#babf7c',
    500: '#9aa545',
    950: '#000000',
  },
}
SCSS
$custom: #9aa545;
$custom-light: #babf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa545",
  "rgb": {
    "r": 154,
    "g": 165,
    "b": 69
  },
  "hsl": {
    "h": 66.875,
    "s": 41.026,
    "l": 45.882
  },
  "oklch": {
    "l": 0.69331,
    "c": 0.1212,
    "h": 115.1
  },
  "luminance": 0.3421
}

Semantic roles & 50–950 ramp

primary
#9AA545
secondary
#8F88BD
accent
#57D165
background
#FBFBF7
surface
#F6F7EE
border
#D0D0C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #9AA545

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

Preview Lab → · Contrast checker → · Palette generator →

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