#A2C138#A2C138

#A2C138 is a light, vivid yellow-green. Relative luminance 0.461; OKLCH L 76.3% C 0.162 H 121.5°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#A2C138
RGBrgb(162, 193, 56)
HSLhsl(74, 55%, 49%)
HSVhsv(74, 71%, 76%)
CMYKcmyk(16.1%, 0%, 71%, 24.3%)
CIE-LABlab(73.61, -28.97, 61.89)
CIE-LCHlch(73.61, 68.33, 115.08°)
OKLaboklab(76.27% -0.0849 0.1383)
OKLCHoklch(76.27% 0.162 121.5)
XYZxyz(34.6846, 46.1068, 10.8129)
Luminance0.4611 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2C138 #5738C1
analogous
#C19C38 #A2C138 #5EC138
triadic
#A2C138 #38A2C1 #C138A2
tetradic
#A2C138 #38C19C #5738C1 #C1385E
square
#A2C138 #38C19C #5738C1 #C1385E
split-complementary
#A2C138 #385EC1 #9C38C1
monochromatic
#52621C #7A922A #A2C138 #B9D264 #CFE094

Accessibility & contrast

On white

2.05
#A2C138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.22
#A2C138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2C138
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2C138#FFFFFF#000000##000000
##A2C1381.002.0510.2210.22
#FFFFFF2.051.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB520
Deuteranopia (green-blind)
#C9B543
Tritanopia (blue-blind)
#ABB7A6
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #a2c138;
/* rgb */ color: rgb(162, 193, 56);
/* oklch */ color: oklch(76.3% 0.162 121.5);
Tailwind
colors: {
  custom: {
    50: '#c1d377',
    500: '#a2c138',
    950: '#000000',
  },
}
SCSS
$custom: #a2c138;
$custom-light: #c1d377;
$custom-dark: #000000;
JSON
{
  "hex": "#a2c138",
  "rgb": {
    "r": 162,
    "g": 193,
    "b": 56
  },
  "hsl": {
    "h": 73.577,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.76265,
    "c": 0.16231,
    "h": 121.5
  },
  "luminance": 0.46107
}

Semantic roles & 50–950 ramp

primary
#A2C138
secondary
#998ACB
accent
#49DE6B
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#131409
muted
#82827B

Preview Lab

Preview with #A2C138

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

Preview Lab → · Contrast checker → · Palette generator →

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