#A7D23B#A7D23B

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

Color values

HEX#A7D23B
RGBrgb(167, 210, 59)
HSLhsl(77, 63%, 53%)
HSVhsv(77, 72%, 82%)
CMYKcmyk(20.5%, 0%, 71.9%, 17.6%)
CIE-LABlab(78.82, -34.74, 66.07)
CIE-LCHlch(78.82, 74.64, 117.74°)
OKLaboklab(80.56% -0.1008 0.1475)
OKLCHoklch(80.56% 0.179 124.4)
XYZxyz(39.7727, 54.6241, 12.5850)
Luminance0.5462 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7D23B #663BD2
analogous
#D2B13B #A7D23B #5BD23B
triadic
#A7D23B #3BA7D2 #D23BA7
tetradic
#A7D23B #3BD2B1 #663BD2 #D23B5B
square
#A7D23B #3BD2B1 #663BD2 #D23B5B
split-complementary
#A7D23B #3B5BD2 #B13BD2
monochromatic
#5D771B #84A927 #A7D23B #BDDD6D #D4E99F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7D23B#FFFFFF#000000##000000
##A7D23B1.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)
#DEC51F
Deuteranopia (green-blind)
#D8C348
Tritanopia (blue-blind)
#AFC8B5
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #a7d23b;
/* rgb */ color: rgb(167, 210, 59);
/* oklch */ color: oklch(80.6% 0.179 124.4);
Tailwind
colors: {
  custom: {
    50: '#c5e07b',
    500: '#a7d23b',
    950: '#000000',
  },
}
SCSS
$custom: #a7d23b;
$custom-light: #c5e07b;
$custom-dark: #000000;
JSON
{
  "hex": "#a7d23b",
  "rgb": {
    "r": 167,
    "g": 210,
    "b": 59
  },
  "hsl": {
    "h": 77.086,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.80563,
    "c": 0.17862,
    "h": 124.4
  },
  "luminance": 0.54624
}

Semantic roles & 50–950 ramp

primary
#A7D23B
secondary
#48327F
accent
#42E671
background
#FEFEFB
surface
#FAFCF2
border
#D3D5CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #A7D23B

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

Preview Lab → · Contrast checker → · Palette generator →

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