#A2D238#A2D238

#A2D238 is a light, vivid yellow-green. Relative luminance 0.541; OKLCH L 80.2% C 0.183 H 125.7°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#A2D238
RGBrgb(162, 210, 56)
HSLhsl(79, 63%, 52%)
HSVhsv(79, 73%, 82%)
CMYKcmyk(22.9%, 0%, 73.3%, 17.6%)
CIE-LABlab(78.50, -36.85, 66.67)
CIE-LCHlch(78.50, 76.17, 118.93°)
OKLaboklab(80.21% -0.1065 0.1484)
OKLCHoklch(80.21% 0.183 125.7)
XYZxyz(38.6609, 54.0595, 12.1383)
Luminance0.5406 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2D238 #6838D2
analogous
#D2B538 #A2D238 #55D238
triadic
#A2D238 #38A2D2 #D238A2
tetradic
#A2D238 #38D2B5 #6838D2 #D23855
square
#A2D238 #38D2B5 #6838D2 #D23855
split-complementary
#A2D238 #3855D2 #B538D2
monochromatic
#59751A #7FA726 #A2D238 #B9DD6A #D1E99C

Accessibility & contrast

On white

1.78
#A2D238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.81
#A2D238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2D238
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2D238#FFFFFF#000000##000000
##A2D2381.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC418
Deuteranopia (green-blind)
#D7C246
Tritanopia (blue-blind)
#A9C8B5
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #a2d238;
/* rgb */ color: rgb(162, 210, 56);
/* oklch */ color: oklch(80.2% 0.183 125.7);
Tailwind
colors: {
  custom: {
    50: '#c2e079',
    500: '#a2d238',
    950: '#000000',
  },
}
SCSS
$custom: #a2d238;
$custom-light: #c2e079;
$custom-dark: #000000;
JSON
{
  "hex": "#a2d238",
  "rgb": {
    "r": 162,
    "g": 210,
    "b": 56
  },
  "hsl": {
    "h": 78.701,
    "s": 63.115,
    "l": 52.157
  },
  "oklch": {
    "l": 0.80212,
    "c": 0.18265,
    "h": 125.7
  },
  "luminance": 0.5406
}

Semantic roles & 50–950 ramp

primary
#A2D238
secondary
#49317E
accent
#42E675
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A2D238

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

Preview Lab → · Contrast checker → · Palette generator →

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