#A2C45F#A2C45F

#A2C45F is a light, vivid yellow-green. Relative luminance 0.480; OKLCH L 77.3% C 0.134 H 124.8°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#A2C45F
RGBrgb(162, 196, 95)
HSLhsl(80, 46%, 57%)
HSVhsv(80, 52%, 77%)
CMYKcmyk(17.3%, 0%, 51.5%, 23.1%)
CIE-LABlab(74.82, -27.34, 46.51)
CIE-LCHlch(74.82, 53.95, 120.45°)
OKLaboklab(77.35% -0.0768 0.1103)
OKLCHoklch(77.35% 0.134 124.8)
XYZxyz(36.7058, 47.9872, 18.1529)
Luminance0.4799 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2C45F #815FC4
analogous
#C4B45F #A2C45F #70C45F
triadic
#A2C45F #5FA2C4 #C45FA2
tetradic
#A2C45F #5FC4B4 #815FC4 #C45F70
square
#A2C45F #5FC4B4 #815FC4 #C45F70
split-complementary
#A2C45F #5F70C4 #B45FC4
monochromatic
#617B2D #84A83E #A2C45F #BCD48C #D6E5B8

Accessibility & contrast

On white

1.98
#A2C45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.60
#A2C45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2C45F
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2C45F#FFFFFF#000000##000000
##A2C45F1.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB956
Deuteranopia (green-blind)
#C9B865
Tritanopia (blue-blind)
#A8BCAD
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #a2c45f;
/* rgb */ color: rgb(162, 196, 95);
/* oklch */ color: oklch(77.3% 0.134 124.8);
Tailwind
colors: {
  custom: {
    50: '#bfd68f',
    500: '#a2c45f',
    950: '#000000',
  },
}
SCSS
$custom: #a2c45f;
$custom-light: #bfd68f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2c45f",
  "rgb": {
    "r": 162,
    "g": 196,
    "b": 95
  },
  "hsl": {
    "h": 80.198,
    "s": 46.119,
    "l": 57.059
  },
  "oklch": {
    "l": 0.77345,
    "c": 0.13443,
    "h": 124.8
  },
  "luminance": 0.47987
}

Semantic roles & 50–950 ramp

primary
#A2C45F
secondary
#B9ABD4
accent
#52D67E
background
#FCFDF8
surface
#F8FAF0
border
#D1D3CB
text
#12140C
muted
#81837D

Preview Lab

Preview with #A2C45F

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

Preview Lab → · Contrast checker → · Palette generator →

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