#9AA236#9AA236

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

Color values

HEX#9AA236
RGBrgb(154, 162, 54)
HSLhsl(64, 50%, 42%)
HSVhsv(64, 67%, 64%)
CMYKcmyk(4.9%, 0%, 66.7%, 36.5%)
CIE-LABlab(64.14, -17.11, 52.91)
CIE-LCHlch(64.14, 55.61, 107.92°)
OKLaboklab(68.5% -0.0517 0.1193)
OKLCHoklch(68.5% 0.13 113.4)
XYZxyz(26.9133, 32.9776, 8.4369)
Luminance0.3298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA236 #3E36A2
analogous
#A27436 #9AA236 #64A236
triadic
#9AA236 #369AA2 #A2369A
tetradic
#9AA236 #36A274 #3E36A2 #A23664
square
#9AA236 #36A274 #3E36A2 #A23664
split-complementary
#9AA236 #3664A2 #7436A2
monochromatic
#434617 #6E7427 #9AA236 #BCC550 #CED47E

Accessibility & contrast

On white

2.76
#9AA236 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#9AA236 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA236
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA236#FFFFFF#000000##000000
##9AA2361.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A27
Deuteranopia (green-blind)
#AE9D3E
Tritanopia (blue-blind)
#A4998C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9aa236;
/* rgb */ color: rgb(154, 162, 54);
/* oklch */ color: oklch(68.5% 0.130 113.4);
Tailwind
colors: {
  custom: {
    50: '#bbbd73',
    500: '#9aa236',
    950: '#000000',
  },
}
SCSS
$custom: #9aa236;
$custom-light: #bbbd73;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa236",
  "rgb": {
    "r": 154,
    "g": 162,
    "b": 54
  },
  "hsl": {
    "h": 64.444,
    "s": 50,
    "l": 42.353
  },
  "oklch": {
    "l": 0.685,
    "c": 0.13005,
    "h": 113.4
  },
  "luminance": 0.32977
}

Semantic roles & 50–950 ramp

primary
#9AA236
secondary
#7C77BD
accent
#4EDA59
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9AA236

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

Preview Lab → · Contrast checker → · Palette generator →

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