#AAC938#AAC938

#AAC938 is a light, vivid yellow-green. Relative luminance 0.506; OKLCH L 78.7% C 0.168 H 121.1°. Best body text is #000000 at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#AAC938
RGBrgb(170, 201, 56)
HSLhsl(73, 57%, 50%)
HSVhsv(73, 72%, 79%)
CMYKcmyk(15.4%, 0%, 72.1%, 21.2%)
CIE-LABlab(76.44, -29.53, 64.85)
CIE-LCHlch(76.44, 71.25, 114.48°)
OKLaboklab(78.68% -0.0869 0.1443)
OKLCHoklch(78.68% 0.168 121.1)
XYZxyz(38.1786, 50.6049, 11.4970)
Luminance0.5060 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAC938 #5738C9
analogous
#C9A038 #AAC938 #61C938
triadic
#AAC938 #38AAC9 #C938AA
tetradic
#AAC938 #38C9A0 #5738C9 #C93861
square
#AAC938 #38C9A0 #5738C9 #C93861
split-complementary
#AAC938 #3861C9 #A038C9
monochromatic
#596A1D #829A2A #AAC938 #BFD668 #D3E398

Accessibility & contrast

On white

1.89
#AAC938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.12
#AAC938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAC938
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAC938#FFFFFF#000000##000000
##AAC9381.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD1C
Deuteranopia (green-blind)
#D2BD44
Tritanopia (blue-blind)
#B3BFAD
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #aac938;
/* rgb */ color: rgb(170, 201, 56);
/* oklch */ color: oklch(78.7% 0.168 121.1);
Tailwind
colors: {
  custom: {
    50: '#c7d978',
    500: '#aac938',
    950: '#000000',
  },
}
SCSS
$custom: #aac938;
$custom-light: #c7d978;
$custom-dark: #000000;
JSON
{
  "hex": "#aac938",
  "rgb": {
    "r": 170,
    "g": 201,
    "b": 56
  },
  "hsl": {
    "h": 72.828,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.78681,
    "c": 0.16847,
    "h": 121.1
  },
  "luminance": 0.50605
}

Semantic roles & 50–950 ramp

primary
#AAC938
secondary
#403174
accent
#47E168
background
#FEFEFB
surface
#FAFBF1
border
#D3D4CB
text
#13140A
muted
#83837D

Preview Lab

Preview with #AAC938

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

Preview Lab → · Contrast checker → · Palette generator →

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