#9AA223#9AA223

#9AA223 is a light, vivid yellow. Relative luminance 0.328; OKLCH L 68.4% C 0.142 H 113.3°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#9AA223
RGBrgb(154, 162, 35)
HSLhsl(64, 64%, 39%)
HSVhsv(64, 78%, 64%)
CMYKcmyk(4.9%, 0%, 78.4%, 36.5%)
CIE-LABlab(64.03, -18.08, 59.69)
CIE-LCHlch(64.03, 62.37, 106.85°)
OKLaboklab(68.37% -0.0562 0.1303)
OKLCHoklch(68.37% 0.142 113.3)
XYZxyz(26.5510, 32.8326, 6.5285)
Luminance0.3283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA223 #2B23A2
analogous
#A26A23 #9AA223 #5AA223
triadic
#9AA223 #239AA2 #A2239A
tetradic
#9AA223 #23A26A #2B23A2 #A2235A
square
#9AA223 #23A26A #2B23A2 #A2235A
split-complementary
#9AA223 #235AA2 #6A23A2
monochromatic
#3A3D0D #6A7018 #9AA223 #C8D230 #D5DD62

Accessibility & contrast

On white

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

On black

7.57
#9AA223 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA223
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA223#FFFFFF#000000##000000
##9AA2231.002.787.577.57
#FFFFFF2.781.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#AE9C2F
Tritanopia (blue-blind)
#A5988B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9aa223;
/* rgb */ color: rgb(154, 162, 35);
/* oklch */ color: oklch(68.4% 0.142 113.3);
Tailwind
colors: {
  custom: {
    50: '#bbbd6a',
    500: '#9aa223',
    950: '#000000',
  },
}
SCSS
$custom: #9aa223;
$custom-light: #bbbd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa223",
  "rgb": {
    "r": 154,
    "g": 162,
    "b": 35
  },
  "hsl": {
    "h": 63.78,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.68368,
    "c": 0.14194,
    "h": 113.3
  },
  "luminance": 0.32832
}

Semantic roles & 50–950 ramp

primary
#9AA223
secondary
#655EC2
accent
#40E74B
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9AA223

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

Preview Lab → · Contrast checker → · Palette generator →

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