#A2B23A#A2B23A

#A2B23A is a light, vivid yellow. Relative luminance 0.398; OKLCH L 72.8% C 0.143 H 116.6°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#A2B23A
RGBrgb(162, 178, 58)
HSLhsl(68, 51%, 46%)
HSVhsv(68, 67%, 70%)
CMYKcmyk(9%, 0%, 67.4%, 30.2%)
CIE-LABlab(69.35, -21.55, 56.84)
CIE-LCHlch(69.35, 60.78, 110.76°)
OKLaboklab(72.84% -0.0642 0.128)
OKLCHoklch(72.84% 0.143 116.6)
XYZxyz(31.5851, 39.8281, 10.0259)
Luminance0.3983 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B23A #4A3AB2
analogous
#B2863A #A2B23A #66B23A
triadic
#A2B23A #3AA2B2 #B23AA2
tetradic
#A2B23A #3AB286 #4A3AB2 #B23A66
square
#A2B23A #3AB286 #4A3AB2 #B23A66
split-complementary
#A2B23A #3A66B2 #863AB2
monochromatic
#4E561C #78842B #A2B23A #BCCB5F #CFDA8D

Accessibility & contrast

On white

2.34
#A2B23A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#A2B23A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B23A
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B23A#FFFFFF#000000##000000
##A2B23A1.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA928
Deuteranopia (green-blind)
#BDAA43
Tritanopia (blue-blind)
#ACA89A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a2b23a;
/* rgb */ color: rgb(162, 178, 58);
/* oklch */ color: oklch(72.8% 0.143 116.6);
Tailwind
colors: {
  custom: {
    50: '#c0c977',
    500: '#a2b23a',
    950: '#000000',
  },
}
SCSS
$custom: #a2b23a;
$custom-light: #c0c977;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b23a",
  "rgb": {
    "r": 162,
    "g": 178,
    "b": 58
  },
  "hsl": {
    "h": 68,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.72835,
    "c": 0.1432,
    "h": 116.6
  },
  "luminance": 0.39828
}

Semantic roles & 50–950 ramp

primary
#A2B23A
secondary
#8C83C4
accent
#4DDA60
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A2B23A

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

Preview Lab → · Contrast checker → · Palette generator →

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