#A7CA31#A7CA31

#A7CA31 is a light, vivid yellow-green. Relative luminance 0.507; OKLCH L 78.7% C 0.175 H 122.1°. Best body text is #000000 at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#A7CA31
RGBrgb(167, 202, 49)
HSLhsl(74, 61%, 49%)
HSVhsv(74, 76%, 79%)
CMYKcmyk(17.3%, 0%, 75.7%, 20.8%)
CIE-LABlab(76.48, -31.55, 67.15)
CIE-LCHlch(76.48, 74.19, 115.17°)
OKLaboklab(78.65% -0.0929 0.1481)
OKLCHoklch(78.65% 0.175 122.1)
XYZxyz(37.6118, 50.6782, 10.7055)
Luminance0.5068 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7CA31 #5431CA
analogous
#CAA031 #A7CA31 #5BCA31
triadic
#A7CA31 #31A7CA #CA31A7
tetradic
#A7CA31 #31CAA0 #5431CA #CA315B
square
#A7CA31 #31CAA0 #5431CA #CA315B
split-complementary
#A7CA31 #315BCA #A031CA
monochromatic
#566719 #7E9925 #A7CA31 #BDD860 #D1E491

Accessibility & contrast

On white

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

On black

11.14
#A7CA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7CA31
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7CA31#FFFFFF#000000##000000
##A7CA311.001.8911.1411.14
#FFFFFF1.891.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BD08
Deuteranopia (green-blind)
#D2BD40
Tritanopia (blue-blind)
#B0BFAD
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #a7ca31;
/* rgb */ color: rgb(167, 202, 49);
/* oklch */ color: oklch(78.7% 0.175 122.1);
Tailwind
colors: {
  custom: {
    50: '#c5da75',
    500: '#a7ca31',
    950: '#000000',
  },
}
SCSS
$custom: #a7ca31;
$custom-light: #c5da75;
$custom-dark: #000000;
JSON
{
  "hex": "#a7ca31",
  "rgb": {
    "r": 167,
    "g": 202,
    "b": 49
  },
  "hsl": {
    "h": 73.725,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.78653,
    "c": 0.17483,
    "h": 122.1
  },
  "luminance": 0.50678
}

Semantic roles & 50–950 ramp

primary
#A7CA31
secondary
#3D2E72
accent
#44E468
background
#FEFEFB
surface
#FAFBF1
border
#D3D4CB
text
#131409
muted
#83837D

Preview Lab

Preview with #A7CA31

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

Preview Lab → · Contrast checker → · Palette generator →

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