#9AAA38#9AAA38

#9AAA38 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.4% C 0.138 H 116.9°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#9AAA38
RGBrgb(154, 170, 56)
HSLhsl(68, 50%, 44%)
HSVhsv(68, 67%, 67%)
CMYKcmyk(9.4%, 0%, 67.1%, 33.3%)
CIE-LABlab(66.45, -21.05, 54.47)
CIE-LCHlch(66.45, 58.40, 111.13°)
OKLaboklab(70.35% -0.0625 0.1229)
OKLCHoklch(70.35% 0.138 116.9)
XYZxyz(28.4156, 35.9053, 9.1741)
Luminance0.3590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AAA38 #4838AA
analogous
#AA8138 #9AAA38 #61AA38
triadic
#9AAA38 #389AAA #AA389A
tetradic
#9AAA38 #38AA81 #4838AA #AA3861
square
#9AAA38 #38AA81 #4838AA #AA3861
split-complementary
#9AAA38 #3861AA #8138AA
monochromatic
#474E1A #707C29 #9AAA38 #B8C857 #CCD785

Accessibility & contrast

On white

2.57
#9AAA38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#9AAA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AAA38
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AAA38#FFFFFF#000000##000000
##9AAA381.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A128
Deuteranopia (green-blind)
#B4A240
Tritanopia (blue-blind)
#A3A193
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9aaa38;
/* rgb */ color: rgb(154, 170, 56);
/* oklch */ color: oklch(70.4% 0.138 116.9);
Tailwind
colors: {
  custom: {
    50: '#bbc375',
    500: '#9aaa38',
    950: '#000000',
  },
}
SCSS
$custom: #9aaa38;
$custom-light: #bbc375;
$custom-dark: #000000;
JSON
{
  "hex": "#9aaa38",
  "rgb": {
    "r": 154,
    "g": 170,
    "b": 56
  },
  "hsl": {
    "h": 68.421,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.70352,
    "c": 0.1379,
    "h": 116.9
  },
  "luminance": 0.35905
}

Semantic roles & 50–950 ramp

primary
#9AAA38
secondary
#867DC1
accent
#4EDA62
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9AAA38

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

Preview Lab → · Contrast checker → · Palette generator →

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