#9AA534#9AA534

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

Color values

HEX#9AA534
RGBrgb(154, 165, 52)
HSLhsl(66, 52%, 43%)
HSVhsv(66, 68%, 65%)
CMYKcmyk(6.7%, 0%, 68.5%, 35.3%)
CIE-LABlab(64.99, -18.77, 54.58)
CIE-LCHlch(64.99, 57.72, 108.97°)
OKLaboklab(69.17% -0.0565 0.1225)
OKLCHoklch(69.17% 0.135 114.8)
XYZxyz(27.4021, 34.0287, 8.3728)
Luminance0.3403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA534 #3F34A5
analogous
#A57834 #9AA534 #61A534
triadic
#9AA534 #349AA5 #A5349A
tetradic
#9AA534 #34A578 #3F34A5 #A53461
square
#9AA534 #34A578 #3F34A5 #A53461
split-complementary
#9AA534 #3461A5 #7834A5
monochromatic
#434817 #6F7625 #9AA534 #BCC74F #CDD67D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9AA534#FFFFFF#000000##000000
##9AA5341.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)
#B19D23
Deuteranopia (green-blind)
#B09F3C
Tritanopia (blue-blind)
#A49B8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9aa534;
/* rgb */ color: rgb(154, 165, 52);
/* oklch */ color: oklch(69.2% 0.135 114.8);
Tailwind
colors: {
  custom: {
    50: '#bbbf72',
    500: '#9aa534',
    950: '#000000',
  },
}
SCSS
$custom: #9aa534;
$custom-light: #bbbf72;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa534",
  "rgb": {
    "r": 154,
    "g": 165,
    "b": 52
  },
  "hsl": {
    "h": 65.841,
    "s": 52.074,
    "l": 42.549
  },
  "oklch": {
    "l": 0.6917,
    "c": 0.13494,
    "h": 114.8
  },
  "luminance": 0.34028
}

Semantic roles & 50–950 ramp

primary
#9AA534
secondary
#7D76BF
accent
#4CDC5A
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9AA534

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

Preview Lab → · Contrast checker → · Palette generator →

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