#9AA227#9AA227

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

Color values

HEX#9AA227
RGBrgb(154, 162, 39)
HSLhsl(64, 61%, 39%)
HSVhsv(64, 76%, 64%)
CMYKcmyk(4.9%, 0%, 75.9%, 36.5%)
CIE-LABlab(64.05, -17.91, 58.43)
CIE-LCHlch(64.05, 61.11, 107.05°)
OKLaboklab(68.39% -0.0554 0.1284)
OKLCHoklch(68.39% 0.14 113.3)
XYZxyz(26.6138, 32.8577, 6.8593)
Luminance0.3286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA227 #2F27A2
analogous
#A26C27 #9AA227 #5DA227
triadic
#9AA227 #279AA2 #A2279A
tetradic
#9AA227 #27A26C #2F27A2 #A2275D
square
#9AA227 #27A26C #2F27A2 #A2275D
split-complementary
#9AA227 #275DA2 #6C27A2
monochromatic
#3C3F0F #6B711B #9AA227 #C5CF37 #D3DB69

Accessibility & contrast

On white

2.77
#9AA227 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9AA227#FFFFFF#000000##000000
##9AA2271.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9aa227;
/* rgb */ color: rgb(154, 162, 39);
/* oklch */ color: oklch(68.4% 0.140 113.3);
Tailwind
colors: {
  custom: {
    50: '#bbbd6b',
    500: '#9aa227',
    950: '#000000',
  },
}
SCSS
$custom: #9aa227;
$custom-light: #bbbd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa227",
  "rgb": {
    "r": 154,
    "g": 162,
    "b": 39
  },
  "hsl": {
    "h": 63.902,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.68391,
    "c": 0.13982,
    "h": 113.3
  },
  "luminance": 0.32857
}

Semantic roles & 50–950 ramp

primary
#9AA227
secondary
#6A64C1
accent
#43E44E
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9AA227

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

Preview Lab → · Contrast checker → · Palette generator →

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