#A7C223#A7C223

#A7C223 is a light, vivid yellow-green. Relative luminance 0.469; OKLCH L 76.7% C 0.172 H 119.6°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#A7C223
RGBrgb(167, 194, 35)
HSLhsl(70, 69%, 45%)
HSVhsv(70, 82%, 76%)
CMYKcmyk(13.9%, 0%, 82%, 23.9%)
CIE-LABlab(74.14, -28.34, 69.02)
CIE-LCHlch(74.14, 74.62, 112.32°)
OKLaboklab(76.74% -0.0851 0.1498)
OKLCHoklch(76.74% 0.172 119.6)
XYZxyz(35.5323, 46.9206, 8.7745)
Luminance0.4692 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7C223 #3E23C2
analogous
#C28E23 #A7C223 #57C223
triadic
#A7C223 #23A7C2 #C223A7
tetradic
#A7C223 #23C28E #3E23C2 #C22357
square
#A7C223 #23C28E #3E23C2 #C22357
split-complementary
#A7C223 #2357C2 #8E23C2
monochromatic
#4E5A10 #7A8E1A #A7C223 #C3DD45 #D4E779

Accessibility & contrast

On white

2.02
#A7C223 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.38
#A7C223 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7C223
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7C223#FFFFFF#000000##000000
##A7C2231.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB600
Deuteranopia (green-blind)
#CCB734
Tritanopia (blue-blind)
#B1B7A6
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #a7c223;
/* rgb */ color: rgb(167, 194, 35);
/* oklch */ color: oklch(76.7% 0.172 119.6);
Tailwind
colors: {
  custom: {
    50: '#c5d46e',
    500: '#a7c223',
    950: '#000000',
  },
}
SCSS
$custom: #a7c223;
$custom-light: #c5d46e;
$custom-dark: #000000;
JSON
{
  "hex": "#a7c223",
  "rgb": {
    "r": 167,
    "g": 194,
    "b": 35
  },
  "hsl": {
    "h": 70.189,
    "s": 69.432,
    "l": 44.902
  },
  "oklch": {
    "l": 0.76741,
    "c": 0.17227,
    "h": 119.6
  },
  "luminance": 0.4692
}

Semantic roles & 50–950 ramp

primary
#A7C223
secondary
#8272CE
accent
#3CEC5A
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A7C223

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

Preview Lab → · Contrast checker → · Palette generator →

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