#A7CA21#A7CA21

#A7CA21 is a light, vivid yellow-green. Relative luminance 0.506; OKLCH L 78.6% C 0.182 H 121.7°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#A7CA21
RGBrgb(167, 202, 33)
HSLhsl(72, 72%, 46%)
HSVhsv(72, 84%, 79%)
CMYKcmyk(17.3%, 0%, 83.7%, 20.8%)
CIE-LABlab(76.42, -32.17, 71.47)
CIE-LCHlch(76.42, 78.38, 114.23°)
OKLaboklab(78.58% -0.0956 0.1547)
OKLCHoklch(78.58% 0.182 121.7)
XYZxyz(37.3321, 50.5663, 9.2321)
Luminance0.5057 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7CA21 #4421CA
analogous
#CA9821 #A7CA21 #52CA21
triadic
#A7CA21 #21A7CA #CA21A7
tetradic
#A7CA21 #21CA98 #4421CA #CA2152
square
#A7CA21 #21CA98 #4421CA #CA2152
split-complementary
#A7CA21 #2152CA #9821CA
monochromatic
#506110 #7C9518 #A7CA21 #C1E147 #D3EA7C

Accessibility & contrast

On white

1.89
#A7CA21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.11
#A7CA21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7CA21
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7CA21#FFFFFF#000000##000000
##A7CA211.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BD00
Deuteranopia (green-blind)
#D2BD35
Tritanopia (blue-blind)
#B1BFAC
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #a7ca21;
/* rgb */ color: rgb(167, 202, 33);
/* oklch */ color: oklch(78.6% 0.182 121.7);
Tailwind
colors: {
  custom: {
    50: '#c5da6f',
    500: '#a7ca21',
    950: '#000000',
  },
}
SCSS
$custom: #a7ca21;
$custom-light: #c5da6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a7ca21",
  "rgb": {
    "r": 167,
    "g": 202,
    "b": 33
  },
  "hsl": {
    "h": 72.426,
    "s": 71.915,
    "l": 46.078
  },
  "oklch": {
    "l": 0.78577,
    "c": 0.18191,
    "h": 121.7
  },
  "luminance": 0.50566
}

Semantic roles & 50–950 ramp

primary
#A7CA21
secondary
#32246C
accent
#39EF5F
background
#FEFEFB
surface
#FAFBF1
border
#D3D4CB
text
#131408
muted
#83837D

Preview Lab

Preview with #A7CA21

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

Preview Lab → · Contrast checker → · Palette generator →

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