#9AA840#9AA840

#9AA840 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.0% C 0.129 H 116.3°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#9AA840
RGBrgb(154, 168, 64)
HSLhsl(68, 45%, 45%)
HSVhsv(68, 62%, 66%)
CMYKcmyk(8.3%, 0%, 61.9%, 34.1%)
CIE-LABlab(65.94, -19.49, 50.55)
CIE-LCHlch(65.94, 54.18, 111.08°)
OKLaboklab(69.97% -0.0573 0.1158)
OKLCHoklch(69.97% 0.129 116.3)
XYZxyz(28.2550, 35.2458, 10.1642)
Luminance0.3524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA840 #4E40A8
analogous
#A88240 #9AA840 #66A840
triadic
#9AA840 #409AA8 #A8409A
tetradic
#9AA840 #40A882 #4E40A8 #A84066
square
#9AA840 #40A882 #4E40A8 #A84066
split-complementary
#9AA840 #4066A8 #8240A8
monochromatic
#494F1E #717C2F #9AA840 #B6C362 #CBD48E

Accessibility & contrast

On white

2.61
#9AA840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#9AA840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA840
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA840#FFFFFF#000000##000000
##9AA8401.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A034
Deuteranopia (green-blind)
#B2A147
Tritanopia (blue-blind)
#A39F92
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9aa840;
/* rgb */ color: rgb(154, 168, 64);
/* oklch */ color: oklch(70.0% 0.129 116.3);
Tailwind
colors: {
  custom: {
    50: '#bac179',
    500: '#9aa840',
    950: '#000000',
  },
}
SCSS
$custom: #9aa840;
$custom-light: #bac179;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa840",
  "rgb": {
    "r": 154,
    "g": 168,
    "b": 64
  },
  "hsl": {
    "h": 68.077,
    "s": 44.828,
    "l": 45.49
  },
  "oklch": {
    "l": 0.69966,
    "c": 0.12922,
    "h": 116.3
  },
  "luminance": 0.35245
}

Semantic roles & 50–950 ramp

primary
#9AA840
secondary
#8D85BF
accent
#53D565
background
#FBFBF7
surface
#F7F7EE
border
#D0D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9AA840

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

Preview Lab → · Contrast checker → · Palette generator →

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