#A7D23C#A7D23C

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

Color values

HEX#A7D23C
RGBrgb(167, 210, 60)
HSLhsl(77, 63%, 53%)
HSVhsv(77, 71%, 82%)
CMYKcmyk(20.5%, 0%, 71.4%, 17.6%)
CIE-LABlab(78.83, -34.69, 65.72)
CIE-LCHlch(78.83, 74.31, 117.82°)
OKLaboklab(80.57% -0.1006 0.1469)
OKLCHoklch(80.57% 0.178 124.4)
XYZxyz(39.7989, 54.6345, 12.7229)
Luminance0.5464 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7D23C #673CD2
analogous
#D2B23C #A7D23C #5CD23C
triadic
#A7D23C #3CA7D2 #D23CA7
tetradic
#A7D23C #3CD2B2 #673CD2 #D23C5C
square
#A7D23C #3CD2B2 #673CD2 #D23C5C
split-complementary
#A7D23C #3C5CD2 #B23CD2
monochromatic
#5D781C #84AA27 #A7D23C #BDDD6E #D4E99F

Accessibility & contrast

On white

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

On black

11.93
#A7D23C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7D23C
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7D23C#FFFFFF#000000##000000
##A7D23C1.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7d23c;
/* rgb */ color: rgb(167, 210, 60);
/* oklch */ color: oklch(80.6% 0.178 124.4);
Tailwind
colors: {
  custom: {
    50: '#c5e07b',
    500: '#a7d23c',
    950: '#000000',
  },
}
SCSS
$custom: #a7d23c;
$custom-light: #c5e07b;
$custom-dark: #000000;
JSON
{
  "hex": "#a7d23c",
  "rgb": {
    "r": 167,
    "g": 210,
    "b": 60
  },
  "hsl": {
    "h": 77.2,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.8057,
    "c": 0.17802,
    "h": 124.4
  },
  "luminance": 0.54635
}

Semantic roles & 50–950 ramp

primary
#A7D23C
secondary
#483280
accent
#42E671
background
#FEFEFB
surface
#FAFCF2
border
#D3D5CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #A7D23C

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

Preview Lab → · Contrast checker → · Palette generator →

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