#9AA852#9AA852

#9AA852 is a light, moderate yellow. Relative luminance 0.355; OKLCH L 70.2% C 0.113 H 117.0°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#9AA852
RGBrgb(154, 168, 82)
HSLhsl(70, 34%, 49%)
HSVhsv(70, 51%, 66%)
CMYKcmyk(8.3%, 0%, 51.2%, 34.1%)
CIE-LABlab(66.12, -17.95, 42.33)
CIE-LCHlch(66.12, 45.98, 112.98°)
OKLaboklab(70.17% -0.0511 0.1002)
OKLCHoklch(70.17% 0.113 117)
XYZxyz(28.8524, 35.4848, 13.3103)
Luminance0.3548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA852 #6052A8
analogous
#A88B52 #9AA852 #6FA852
triadic
#9AA852 #529AA8 #A8529A
tetradic
#9AA852 #52A88B #6052A8 #A8526F
square
#9AA852 #52A88B #6052A8 #A8526F
split-complementary
#9AA852 #526FA8 #8B52A8
monochromatic
#4F562A #747F3E #9AA852 #B3BE79 #CAD2A3

Accessibility & contrast

On white

2.59
#9AA852 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#9AA852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA852
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA852#FFFFFF#000000##000000
##9AA8521.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A04A
Deuteranopia (green-blind)
#B0A157
Tritanopia (blue-blind)
#A2A094
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9aa852;
/* rgb */ color: rgb(154, 168, 82);
/* oklch */ color: oklch(70.2% 0.113 117.0);
Tailwind
colors: {
  custom: {
    50: '#b9c185',
    500: '#9aa852',
    950: '#000000',
  },
}
SCSS
$custom: #9aa852;
$custom-light: #b9c185;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa852",
  "rgb": {
    "r": 154,
    "g": 168,
    "b": 82
  },
  "hsl": {
    "h": 69.767,
    "s": 34.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.70173,
    "c": 0.1125,
    "h": 117
  },
  "luminance": 0.35484
}

Semantic roles & 50–950 ramp

primary
#9AA852
secondary
#9D97BF
accent
#5DCA6F
background
#FBFBF8
surface
#F6F7EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9AA852

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

Preview Lab → · Contrast checker → · Palette generator →

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