#AAC838#AAC838

#AAC838 is a light, vivid yellow-green. Relative luminance 0.501; OKLCH L 78.5% C 0.167 H 120.8°. Best body text is #000000 at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#AAC838
RGBrgb(170, 200, 56)
HSLhsl(73, 57%, 50%)
HSVhsv(73, 72%, 78%)
CMYKcmyk(15%, 0%, 72%, 21.6%)
CIE-LABlab(76.16, -29.05, 64.57)
CIE-LCHlch(76.16, 70.81, 114.22°)
OKLaboklab(78.45% -0.0856 0.1438)
OKLCHoklch(78.45% 0.167 120.8)
XYZxyz(37.9463, 50.1402, 11.4196)
Luminance0.5014 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAC838 #5638C8
analogous
#C89E38 #AAC838 #62C838
triadic
#AAC838 #38AAC8 #C838AA
tetradic
#AAC838 #38C89E #5638C8 #C83862
square
#AAC838 #38C89E #5638C8 #C83862
split-complementary
#AAC838 #3862C8 #9E38C8
monochromatic
#59691D #82992A #AAC838 #BED568 #D3E398

Accessibility & contrast

On white

1.90
#AAC838 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.03
#AAC838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAC838
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAC838#FFFFFF#000000##000000
##AAC8381.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC1D
Deuteranopia (green-blind)
#D1BC44
Tritanopia (blue-blind)
#B3BEAC
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #aac838;
/* rgb */ color: rgb(170, 200, 56);
/* oklch */ color: oklch(78.5% 0.167 120.8);
Tailwind
colors: {
  custom: {
    50: '#c7d878',
    500: '#aac838',
    950: '#000000',
  },
}
SCSS
$custom: #aac838;
$custom-light: #c7d878;
$custom-dark: #000000;
JSON
{
  "hex": "#aac838",
  "rgb": {
    "r": 170,
    "g": 200,
    "b": 56
  },
  "hsl": {
    "h": 72.5,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.78452,
    "c": 0.1673,
    "h": 120.8
  },
  "luminance": 0.5014
}

Semantic roles & 50–950 ramp

primary
#AAC838
secondary
#3F3273
accent
#48E068
background
#FEFEFB
surface
#FAFBF1
border
#D3D4CB
text
#13140A
muted
#83837D

Preview Lab

Preview with #AAC838

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

Preview Lab → · Contrast checker → · Palette generator →

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