#9AA142#9AA142

#9AA142 is a light, moderate yellow. Relative luminance 0.328; OKLCH L 68.4% C 0.119 H 113.0°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#9AA142
RGBrgb(154, 161, 66)
HSLhsl(64, 42%, 45%)
HSVhsv(64, 59%, 63%)
CMYKcmyk(4.3%, 0%, 59%, 36.9%)
CIE-LABlab(63.96, -15.75, 47.48)
CIE-LCHlch(63.96, 50.02, 108.35°)
OKLaboklab(68.39% -0.0466 0.1096)
OKLCHoklch(68.39% 0.119 113)
XYZxyz(27.0553, 32.7536, 10.0500)
Luminance0.3275 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA142 #4942A1
analogous
#A17942 #9AA142 #6BA142
triadic
#9AA142 #429AA1 #A1429A
tetradic
#9AA142 #42A179 #4942A1 #A1426B
square
#9AA142 #42A179 #4942A1 #A1426B
split-complementary
#9AA142 #426BA1 #7942A1
monochromatic
#474A1E #707630 #9AA142 #B8BF62 #CBD08D

Accessibility & contrast

On white

2.78
#9AA142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#9AA142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA142
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA142#FFFFFF#000000##000000
##9AA1421.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9A38
Deuteranopia (green-blind)
#AC9C48
Tritanopia (blue-blind)
#A3988D
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9aa142;
/* rgb */ color: rgb(154, 161, 66);
/* oklch */ color: oklch(68.4% 0.119 113.0);
Tailwind
colors: {
  custom: {
    50: '#babc7a',
    500: '#9aa142',
    950: '#000000',
  },
}
SCSS
$custom: #9aa142;
$custom-light: #babc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa142",
  "rgb": {
    "r": 154,
    "g": 161,
    "b": 66
  },
  "hsl": {
    "h": 64.421,
    "s": 41.85,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68387,
    "c": 0.11905,
    "h": 113
  },
  "luminance": 0.32753
}

Semantic roles & 50–950 ramp

primary
#9AA142
secondary
#8883BB
accent
#56D25F
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9AA142

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

Preview Lab → · Contrast checker → · Palette generator →

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