#A7D23A#A7D23A

#A7D23A is a light, vivid yellow-green. Relative luminance 0.546; OKLCH L 80.6% C 0.179 H 124.3°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#A7D23A
RGBrgb(167, 210, 58)
HSLhsl(77, 63%, 53%)
HSVhsv(77, 72%, 82%)
CMYKcmyk(20.5%, 0%, 72.4%, 17.6%)
CIE-LABlab(78.82, -34.80, 66.41)
CIE-LCHlch(78.82, 74.97, 117.65°)
OKLaboklab(80.56% -0.101 0.148)
OKLCHoklch(80.56% 0.179 124.3)
XYZxyz(39.7470, 54.6138, 12.4497)
Luminance0.5461 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7D23A #653AD2
analogous
#D2B13A #A7D23A #5BD23A
triadic
#A7D23A #3AA7D2 #D23AA7
tetradic
#A7D23A #3AD2B1 #653AD2 #D23A5B
square
#A7D23A #3AD2B1 #653AD2 #D23A5B
split-complementary
#A7D23A #3A5BD2 #B13AD2
monochromatic
#5D771B #84A826 #A7D23A #BDDD6C #D4E99E

Accessibility & contrast

On white

1.76
#A7D23A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.92
#A7D23A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7D23A
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7D23A#FFFFFF#000000##000000
##A7D23A1.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC51D
Deuteranopia (green-blind)
#D8C348
Tritanopia (blue-blind)
#AFC8B5
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #a7d23a;
/* rgb */ color: rgb(167, 210, 58);
/* oklch */ color: oklch(80.6% 0.179 124.3);
Tailwind
colors: {
  custom: {
    50: '#c5e07a',
    500: '#a7d23a',
    950: '#000000',
  },
}
SCSS
$custom: #a7d23a;
$custom-light: #c5e07a;
$custom-dark: #000000;
JSON
{
  "hex": "#a7d23a",
  "rgb": {
    "r": 167,
    "g": 210,
    "b": 58
  },
  "hsl": {
    "h": 76.974,
    "s": 62.81,
    "l": 52.549
  },
  "oklch": {
    "l": 0.80556,
    "c": 0.17921,
    "h": 124.3
  },
  "luminance": 0.54614
}

Semantic roles & 50–950 ramp

primary
#A7D23A
secondary
#47317F
accent
#42E670
background
#FEFEFB
surface
#FAFCF2
border
#D3D5CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #A7D23A

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

Preview Lab → · Contrast checker → · Palette generator →

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