#A2C338#A2C338

#A2C338 is a light, vivid yellow-green. Relative luminance 0.470; OKLCH L 76.7% C 0.165 H 122.1°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#A2C338
RGBrgb(162, 195, 56)
HSLhsl(74, 55%, 49%)
HSVhsv(74, 71%, 76%)
CMYKcmyk(16.9%, 0%, 71.3%, 23.5%)
CIE-LABlab(74.19, -29.92, 62.46)
CIE-LCHlch(74.19, 69.25, 115.59°)
OKLaboklab(76.73% -0.0875 0.1395)
OKLCHoklch(76.73% 0.165 122.1)
XYZxyz(35.1297, 46.9970, 10.9612)
Luminance0.4700 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2C338 #5938C3
analogous
#C39F38 #A2C338 #5CC338
triadic
#A2C338 #38A2C3 #C338A2
tetradic
#A2C338 #38C39F #5938C3 #C3385C
square
#A2C338 #38C39F #5938C3 #C3385C
split-complementary
#A2C338 #385CC3 #9F38C3
monochromatic
#53641D #7B932A #A2C338 #B9D365 #CFE195

Accessibility & contrast

On white

2.02
#A2C338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.40
#A2C338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2C338
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2C338#FFFFFF#000000##000000
##A2C3381.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB71F
Deuteranopia (green-blind)
#CAB644
Tritanopia (blue-blind)
#ABB9A8
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #a2c338;
/* rgb */ color: rgb(162, 195, 56);
/* oklch */ color: oklch(76.7% 0.165 122.1);
Tailwind
colors: {
  custom: {
    50: '#c1d578',
    500: '#a2c338',
    950: '#000000',
  },
}
SCSS
$custom: #a2c338;
$custom-light: #c1d578;
$custom-dark: #000000;
JSON
{
  "hex": "#a2c338",
  "rgb": {
    "r": 162,
    "g": 195,
    "b": 56
  },
  "hsl": {
    "h": 74.245,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.76727,
    "c": 0.1647,
    "h": 122.1
  },
  "luminance": 0.46997
}

Semantic roles & 50–950 ramp

primary
#A2C338
secondary
#9A8BCC
accent
#49DF6D
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#131409
muted
#82837B

Preview Lab

Preview with #A2C338

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

Preview Lab → · Contrast checker → · Palette generator →

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