#A2C939#A2C939

#A2C939 is a light, vivid yellow-green. Relative luminance 0.497; OKLCH L 78.1% C 0.171 H 123.7°. Best body text is #000000 at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#A2C939
RGBrgb(162, 201, 57)
HSLhsl(76, 57%, 51%)
HSVhsv(76, 72%, 79%)
CMYKcmyk(19.4%, 0%, 71.6%, 21.2%)
CIE-LABlab(75.92, -32.67, 63.80)
CIE-LCHlch(75.92, 71.68, 117.11°)
OKLaboklab(78.13% -0.095 0.1425)
OKLCHoklch(78.13% 0.171 123.7)
XYZxyz(36.5258, 49.7498, 11.5485)
Luminance0.4975 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2C939 #6039C9
analogous
#C9A839 #A2C939 #5AC939
triadic
#A2C939 #39A2C9 #C939A2
tetradic
#A2C939 #39C9A8 #6039C9 #C9395A
square
#A2C939 #39C9A8 #6039C9 #C9395A
split-complementary
#A2C939 #395AC9 #A839C9
monochromatic
#566B1D #7C9B2A #A2C939 #B9D669 #CFE399

Accessibility & contrast

On white

1.92
#A2C939 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.95
#A2C939 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2C939
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2C939#FFFFFF#000000##000000
##A2C9391.001.9210.9510.95
#FFFFFF1.921.0021.0021.00
#00000010.9521.001.001.00
##00000010.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC1F
Deuteranopia (green-blind)
#CFBB46
Tritanopia (blue-blind)
#AABFAD
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #a2c939;
/* rgb */ color: rgb(162, 201, 57);
/* oklch */ color: oklch(78.1% 0.171 123.7);
Tailwind
colors: {
  custom: {
    50: '#c1d979',
    500: '#a2c939',
    950: '#000000',
  },
}
SCSS
$custom: #a2c939;
$custom-light: #c1d979;
$custom-dark: #000000;
JSON
{
  "hex": "#a2c939",
  "rgb": {
    "r": 162,
    "g": 201,
    "b": 57
  },
  "hsl": {
    "h": 76.25,
    "s": 57.143,
    "l": 50.588
  },
  "oklch": {
    "l": 0.78125,
    "c": 0.17127,
    "h": 123.7
  },
  "luminance": 0.4975
}

Semantic roles & 50–950 ramp

primary
#A2C939
secondary
#A08FCF
accent
#47E071
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #A2C939

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

Preview Lab → · Contrast checker → · Palette generator →

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