#A8C72B#A8C72B

#A8C72B is a light, vivid yellow-green. Relative luminance 0.493; OKLCH L 78.0% C 0.174 H 120.8°. Best body text is #000000 at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#A8C72B
RGBrgb(168, 199, 43)
HSLhsl(72, 64%, 47%)
HSVhsv(72, 78%, 78%)
CMYKcmyk(15.6%, 0%, 78.4%, 22%)
CIE-LABlab(75.67, -30.00, 68.23)
CIE-LCHlch(75.67, 74.54, 113.74°)
OKLaboklab(78% -0.0891 0.1494)
OKLCHoklch(78% 0.174 120.8)
XYZxyz(37.0086, 49.3462, 9.8601)
Luminance0.4935 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8C72B #4A2BC7
analogous
#C7982B #A8C72B #5AC72B
triadic
#A8C72B #2BA8C7 #C72BA8
tetradic
#A8C72B #2BC798 #4A2BC7 #C72B5A
square
#A8C72B #2BC798 #4A2BC7 #C72B5A
split-complementary
#A8C72B #2B5AC7 #982BC7
monochromatic
#536215 #7E9520 #A8C72B #C0DA55 #D2E587

Accessibility & contrast

On white

1.93
#A8C72B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.87
#A8C72B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8C72B
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8C72B#FFFFFF#000000##000000
##A8C72B1.001.9310.8710.87
#FFFFFF1.931.0021.0021.00
#00000010.8721.001.001.00
##00000010.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BB00
Deuteranopia (green-blind)
#D0BB3B
Tritanopia (blue-blind)
#B2BCAA
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #a8c72b;
/* rgb */ color: rgb(168, 199, 43);
/* oklch */ color: oklch(78.0% 0.174 120.8);
Tailwind
colors: {
  custom: {
    50: '#c6d872',
    500: '#a8c72b',
    950: '#000000',
  },
}
SCSS
$custom: #a8c72b;
$custom-light: #c6d872;
$custom-dark: #000000;
JSON
{
  "hex": "#a8c72b",
  "rgb": {
    "r": 168,
    "g": 199,
    "b": 43
  },
  "hsl": {
    "h": 71.923,
    "s": 64.463,
    "l": 47.451
  },
  "oklch": {
    "l": 0.78001,
    "c": 0.17396,
    "h": 120.8
  },
  "luminance": 0.49346
}

Semantic roles & 50–950 ramp

primary
#A8C72B
secondary
#8F7FCF
accent
#40E762
background
#FCFDF7
surface
#F9FAED
border
#D2D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #A8C72B

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

Preview Lab → · Contrast checker → · Palette generator →

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