#9AA042#9AA042

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

Color values

HEX#9AA042
RGBrgb(154, 160, 66)
HSLhsl(64, 42%, 44%)
HSVhsv(64, 59%, 63%)
CMYKcmyk(3.8%, 0%, 58.8%, 37.3%)
CIE-LABlab(63.68, -15.23, 47.16)
CIE-LCHlch(63.68, 49.56, 107.90°)
OKLaboklab(68.16% -0.0451 0.1089)
OKLCHoklch(68.16% 0.118 112.5)
XYZxyz(26.8812, 32.4055, 9.9920)
Luminance0.3241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA042 #4842A0
analogous
#A07742 #9AA042 #6BA042
triadic
#9AA042 #429AA0 #A0429A
tetradic
#9AA042 #42A077 #4842A0 #A0426B
square
#9AA042 #42A077 #4842A0 #A0426B
split-complementary
#9AA042 #426BA0 #7742A0
monochromatic
#47491E #707530 #9AA042 #B8BE61 #CCD08D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9AA042#FFFFFF#000000##000000
##9AA0421.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)
#AB9938
Deuteranopia (green-blind)
#AB9B48
Tritanopia (blue-blind)
#A4978C
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9aa042;
/* rgb */ color: rgb(154, 160, 66);
/* oklch */ color: oklch(68.2% 0.118 112.5);
Tailwind
colors: {
  custom: {
    50: '#babc7a',
    500: '#9aa042',
    950: '#000000',
  },
}
SCSS
$custom: #9aa042;
$custom-light: #babc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa042",
  "rgb": {
    "r": 154,
    "g": 160,
    "b": 66
  },
  "hsl": {
    "h": 63.83,
    "s": 41.593,
    "l": 44.314
  },
  "oklch": {
    "l": 0.6816,
    "c": 0.11787,
    "h": 112.5
  },
  "luminance": 0.32405
}

Semantic roles & 50–950 ramp

primary
#9AA042
secondary
#8683BB
accent
#56D15E
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#121109
muted
#81807B

Preview Lab

Preview with #9AA042

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

Preview Lab → · Contrast checker → · Palette generator →

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