#9AA040#9AA040

#9AA040 is a light, moderate yellow. Relative luminance 0.324; OKLCH L 68.1% C 0.120 H 112.5°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#9AA040
RGBrgb(154, 160, 64)
HSLhsl(64, 43%, 44%)
HSVhsv(64, 60%, 63%)
CMYKcmyk(3.8%, 0%, 60%, 37.3%)
CIE-LABlab(63.66, -15.39, 48.06)
CIE-LCHlch(63.66, 50.46, 107.75°)
OKLaboklab(68.14% -0.0458 0.1105)
OKLCHoklch(68.14% 0.12 112.5)
XYZxyz(26.8233, 32.3823, 9.6869)
Luminance0.3238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA040 #4640A0
analogous
#A07640 #9AA040 #6AA040
triadic
#9AA040 #409AA0 #A0409A
tetradic
#9AA040 #40A076 #4640A0 #A0406A
square
#9AA040 #40A076 #4640A0 #A0406A
split-complementary
#9AA040 #406AA0 #7640A0
monochromatic
#46491D #70742F #9AA040 #B9BF5E #CCD08A

Accessibility & contrast

On white

2.81
#9AA040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#9AA040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA040
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA040#FFFFFF#000000##000000
##9AA0401.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9935
Deuteranopia (green-blind)
#AB9B46
Tritanopia (blue-blind)
#A4978B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9aa040;
/* rgb */ color: rgb(154, 160, 64);
/* oklch */ color: oklch(68.1% 0.120 112.5);
Tailwind
colors: {
  custom: {
    50: '#babc79',
    500: '#9aa040',
    950: '#000000',
  },
}
SCSS
$custom: #9aa040;
$custom-light: #babc79;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa040",
  "rgb": {
    "r": 154,
    "g": 160,
    "b": 64
  },
  "hsl": {
    "h": 63.75,
    "s": 42.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.68139,
    "c": 0.11963,
    "h": 112.5
  },
  "luminance": 0.32382
}

Semantic roles & 50–950 ramp

primary
#9AA040
secondary
#8481BB
accent
#55D35D
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#121109
muted
#81807B

Preview Lab

Preview with #9AA040

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

Preview Lab → · Contrast checker → · Palette generator →

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