#9AA233#9AA233

#9AA233 is a light, vivid yellow. Relative luminance 0.330; OKLCH L 68.5% C 0.132 H 113.4°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#9AA233
RGBrgb(154, 162, 51)
HSLhsl(64, 52%, 42%)
HSVhsv(64, 69%, 64%)
CMYKcmyk(4.9%, 0%, 68.5%, 36.5%)
CIE-LABlab(64.12, -17.29, 54.10)
CIE-LCHlch(64.12, 56.80, 107.73°)
OKLaboklab(68.47% -0.0525 0.1214)
OKLCHoklch(68.47% 0.132 113.4)
XYZxyz(26.8450, 32.9502, 8.0772)
Luminance0.3295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA233 #3B33A2
analogous
#A27333 #9AA233 #63A233
triadic
#9AA233 #339AA2 #A2339A
tetradic
#9AA233 #33A273 #3B33A2 #A23363
square
#9AA233 #33A273 #3B33A2 #A23363
split-complementary
#9AA233 #3363A2 #7333A2
monochromatic
#424516 #6E7324 #9AA233 #BEC74C #CFD57A

Accessibility & contrast

On white

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

On black

7.59
#9AA233 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA233
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA233#FFFFFF#000000##000000
##9AA2331.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A22
Deuteranopia (green-blind)
#AE9D3B
Tritanopia (blue-blind)
#A4988C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9aa233;
/* rgb */ color: rgb(154, 162, 51);
/* oklch */ color: oklch(68.5% 0.132 113.4);
Tailwind
colors: {
  custom: {
    50: '#bbbd71',
    500: '#9aa233',
    950: '#000000',
  },
}
SCSS
$custom: #9aa233;
$custom-light: #bbbd71;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa233",
  "rgb": {
    "r": 154,
    "g": 162,
    "b": 51
  },
  "hsl": {
    "h": 64.324,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.68475,
    "c": 0.13223,
    "h": 113.4
  },
  "luminance": 0.3295
}

Semantic roles & 50–950 ramp

primary
#9AA233
secondary
#7873BE
accent
#4CDC57
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9AA233

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

Preview Lab → · Contrast checker → · Palette generator →

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