#9AA338#9AA338

#9AA338 is a light, vivid yellow. Relative luminance 0.334; OKLCH L 68.7% C 0.130 H 113.9°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#9AA338
RGBrgb(154, 163, 56)
HSLhsl(65, 49%, 43%)
HSVhsv(65, 66%, 64%)
CMYKcmyk(5.5%, 0%, 65.6%, 36.1%)
CIE-LABlab(64.44, -17.50, 52.39)
CIE-LCHlch(64.44, 55.24, 108.47°)
OKLaboklab(68.75% -0.0526 0.1186)
OKLCHoklch(68.75% 0.13 113.9)
XYZxyz(27.1381, 33.3504, 8.7483)
Luminance0.3335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA338 #4138A3
analogous
#A37638 #9AA338 #64A338
triadic
#9AA338 #389AA3 #A3389A
tetradic
#9AA338 #38A376 #4138A3 #A33864
square
#9AA338 #38A376 #4138A3 #A33864
split-complementary
#9AA338 #3864A3 #7638A3
monochromatic
#444819 #6F7528 #9AA338 #BBC454 #CDD482

Accessibility & contrast

On white

2.74
#9AA338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#9AA338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA338
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA338#FFFFFF#000000##000000
##9AA3381.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B2A
Deuteranopia (green-blind)
#AE9D3F
Tritanopia (blue-blind)
#A49A8D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9aa338;
/* rgb */ color: rgb(154, 163, 56);
/* oklch */ color: oklch(68.7% 0.130 113.9);
Tailwind
colors: {
  custom: {
    50: '#babe74',
    500: '#9aa338',
    950: '#000000',
  },
}
SCSS
$custom: #9aa338;
$custom-light: #babe74;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa338",
  "rgb": {
    "r": 154,
    "g": 163,
    "b": 56
  },
  "hsl": {
    "h": 65.047,
    "s": 48.858,
    "l": 42.941
  },
  "oklch": {
    "l": 0.68746,
    "c": 0.12969,
    "h": 113.9
  },
  "luminance": 0.3335
}

Semantic roles & 50–950 ramp

primary
#9AA338
secondary
#7F79BD
accent
#4FD85B
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9AA338

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

Preview Lab → · Contrast checker → · Palette generator →

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