#A2C938#A2C938

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

Color values

HEX#A2C938
RGBrgb(162, 201, 56)
HSLhsl(76, 57%, 50%)
HSVhsv(76, 72%, 79%)
CMYKcmyk(19.4%, 0%, 72.1%, 21.2%)
CIE-LABlab(75.91, -32.73, 64.15)
CIE-LCHlch(75.91, 72.02, 117.03°)
OKLaboklab(78.12% -0.0952 0.1431)
OKLCHoklch(78.12% 0.172 123.7)
XYZxyz(36.5011, 49.7399, 11.4184)
Luminance0.4974 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2C938 #5F38C9
analogous
#C9A738 #A2C938 #59C938
triadic
#A2C938 #38A2C9 #C938A2
tetradic
#A2C938 #38C9A7 #5F38C9 #C93859
square
#A2C938 #38C9A7 #5F38C9 #C93859
split-complementary
#A2C938 #3859C9 #A738C9
monochromatic
#556A1D #7C9A2A #A2C938 #B8D668 #CFE398

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2C938#FFFFFF#000000##000000
##A2C9381.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)
#D4BC1D
Deuteranopia (green-blind)
#CFBB45
Tritanopia (blue-blind)
#AABFAD
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #a2c938;
/* rgb */ color: rgb(162, 201, 56);
/* oklch */ color: oklch(78.1% 0.172 123.7);
Tailwind
colors: {
  custom: {
    50: '#c1d978',
    500: '#a2c938',
    950: '#000000',
  },
}
SCSS
$custom: #a2c938;
$custom-light: #c1d978;
$custom-dark: #000000;
JSON
{
  "hex": "#a2c938",
  "rgb": {
    "r": 162,
    "g": 201,
    "b": 56
  },
  "hsl": {
    "h": 76.138,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.78118,
    "c": 0.17188,
    "h": 123.7
  },
  "luminance": 0.4974
}

Semantic roles & 50–950 ramp

primary
#A2C938
secondary
#9F8ECF
accent
#47E170
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #A2C938

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

Preview Lab → · Contrast checker → · Palette generator →

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