#AAC338#AAC338

#AAC338 is a light, vivid yellow-green. Relative luminance 0.479; OKLCH L 77.3% C 0.161 H 119.3°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#AAC338
RGBrgb(170, 195, 56)
HSLhsl(71, 55%, 49%)
HSVhsv(71, 71%, 76%)
CMYKcmyk(12.8%, 0%, 71.3%, 23.5%)
CIE-LABlab(74.74, -26.66, 63.18)
CIE-LCHlch(74.74, 68.58, 112.88°)
OKLaboklab(77.31% -0.079 0.1408)
OKLCHoklch(77.31% 0.161 119.3)
XYZxyz(36.8072, 47.8620, 11.0399)
Luminance0.4786 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAC338 #5138C3
analogous
#C39638 #AAC338 #65C338
triadic
#AAC338 #38AAC3 #C338AA
tetradic
#AAC338 #38C396 #5138C3 #C33865
square
#AAC338 #38C396 #5138C3 #C33865
split-complementary
#AAC338 #3865C3 #9638C3
monochromatic
#57641D #81932A #AAC338 #BFD365 #D3E195

Accessibility & contrast

On white

1.99
#AAC338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.57
#AAC338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAC338
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAC338#FFFFFF#000000##000000
##AAC3381.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B81F
Deuteranopia (green-blind)
#CDB844
Tritanopia (blue-blind)
#B4B9A8
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #aac338;
/* rgb */ color: rgb(170, 195, 56);
/* oklch */ color: oklch(77.3% 0.161 119.3);
Tailwind
colors: {
  custom: {
    50: '#c7d578',
    500: '#aac338',
    950: '#000000',
  },
}
SCSS
$custom: #aac338;
$custom-light: #c7d578;
$custom-dark: #000000;
JSON
{
  "hex": "#aac338",
  "rgb": {
    "r": 170,
    "g": 195,
    "b": 56
  },
  "hsl": {
    "h": 70.791,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.7731,
    "c": 0.16148,
    "h": 119.3
  },
  "luminance": 0.47862
}

Semantic roles & 50–950 ramp

primary
#AAC338
secondary
#978BCC
accent
#49DF64
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#131409
muted
#82837B

Preview Lab

Preview with #AAC338

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

Preview Lab → · Contrast checker → · Palette generator →

#AAC338 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva