#9AA538#9AA538

#9AA538 is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.2% C 0.132 H 114.8°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#9AA538
RGBrgb(154, 165, 56)
HSLhsl(66, 49%, 43%)
HSVhsv(66, 66%, 65%)
CMYKcmyk(6.7%, 0%, 66.1%, 35.3%)
CIE-LABlab(65.02, -18.52, 52.99)
CIE-LCHlch(65.02, 56.13, 109.26°)
OKLaboklab(69.2% -0.0554 0.1198)
OKLCHoklch(69.2% 0.132 114.8)
XYZxyz(27.4960, 34.0663, 8.8676)
Luminance0.3407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA538 #4338A5
analogous
#A57938 #9AA538 #63A538
triadic
#9AA538 #389AA5 #A5389A
tetradic
#9AA538 #38A579 #4338A5 #A53863
square
#9AA538 #38A579 #4338A5 #A53863
split-complementary
#9AA538 #3863A5 #7938A5
monochromatic
#454A19 #6F7728 #9AA538 #BAC555 #CCD583

Accessibility & contrast

On white

2.69
#9AA538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#9AA538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA538
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA538#FFFFFF#000000##000000
##9AA5381.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D29
Deuteranopia (green-blind)
#B09F40
Tritanopia (blue-blind)
#A49C8F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9aa538;
/* rgb */ color: rgb(154, 165, 56);
/* oklch */ color: oklch(69.2% 0.132 114.8);
Tailwind
colors: {
  custom: {
    50: '#babf74',
    500: '#9aa538',
    950: '#000000',
  },
}
SCSS
$custom: #9aa538;
$custom-light: #babf74;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa538",
  "rgb": {
    "r": 154,
    "g": 165,
    "b": 56
  },
  "hsl": {
    "h": 66.055,
    "s": 49.321,
    "l": 43.333
  },
  "oklch": {
    "l": 0.69203,
    "c": 0.13201,
    "h": 114.8
  },
  "luminance": 0.34066
}

Semantic roles & 50–950 ramp

primary
#9AA538
secondary
#817ABE
accent
#4FD95D
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9AA538

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

Preview Lab → · Contrast checker → · Palette generator →

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