#A6CA31#A6CA31

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

Color values

HEX#A6CA31
RGBrgb(166, 202, 49)
HSLhsl(74, 61%, 49%)
HSVhsv(74, 76%, 79%)
CMYKcmyk(17.8%, 0%, 75.7%, 20.8%)
CIE-LABlab(76.42, -31.95, 67.06)
CIE-LCHlch(76.42, 74.28, 115.48°)
OKLaboklab(78.58% -0.0939 0.148)
OKLCHoklch(78.58% 0.175 122.4)
XYZxyz(37.4013, 50.5697, 10.6957)
Luminance0.5057 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6CA31 #5531CA
analogous
#CAA231 #A6CA31 #59CA31
triadic
#A6CA31 #31A6CA #CA31A6
tetradic
#A6CA31 #31CAA2 #5531CA #CA3159
square
#A6CA31 #31CAA2 #5531CA #CA3159
split-complementary
#A6CA31 #3159CA #A231CA
monochromatic
#556719 #7E9925 #A6CA31 #BCD860 #D1E491

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6CA31#FFFFFF#000000##000000
##A6CA311.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)
#D6BD08
Deuteranopia (green-blind)
#D2BC40
Tritanopia (blue-blind)
#AFC0AD
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #a6ca31;
/* rgb */ color: rgb(166, 202, 49);
/* oklch */ color: oklch(78.6% 0.175 122.4);
Tailwind
colors: {
  custom: {
    50: '#c4da75',
    500: '#a6ca31',
    950: '#000000',
  },
}
SCSS
$custom: #a6ca31;
$custom-light: #c4da75;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ca31",
  "rgb": {
    "r": 166,
    "g": 202,
    "b": 49
  },
  "hsl": {
    "h": 74.118,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.78583,
    "c": 0.17525,
    "h": 122.4
  },
  "luminance": 0.5057
}

Semantic roles & 50–950 ramp

primary
#A6CA31
secondary
#3E2E72
accent
#44E469
background
#FEFEFB
surface
#FAFBF1
border
#D3D4CB
text
#131409
muted
#83837D

Preview Lab

Preview with #A6CA31

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

Preview Lab → · Contrast checker → · Palette generator →

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