#A6C838#A6C838

#A6C838 is a light, vivid yellow-green. Relative luminance 0.497; OKLCH L 78.2% C 0.169 H 122.1°. Best body text is #000000 at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#A6C838
RGBrgb(166, 200, 56)
HSLhsl(74, 57%, 50%)
HSVhsv(74, 72%, 78%)
CMYKcmyk(17%, 0%, 72%, 21.6%)
CIE-LABlab(75.89, -30.66, 64.22)
CIE-LCHlch(75.89, 71.16, 115.53°)
OKLaboklab(78.17% -0.0898 0.1431)
OKLCHoklch(78.17% 0.169 122.1)
XYZxyz(37.0945, 49.7010, 11.3796)
Luminance0.4970 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6C838 #5A38C8
analogous
#C8A238 #A6C838 #5EC838
triadic
#A6C838 #38A6C8 #C838A6
tetradic
#A6C838 #38C8A2 #5A38C8 #C8385E
square
#A6C838 #38C8A2 #5A38C8 #C8385E
split-complementary
#A6C838 #385EC8 #A238C8
monochromatic
#57691D #7F992A #A6C838 #BBD568 #D1E398

Accessibility & contrast

On white

1.92
#A6C838 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.94
#A6C838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6C838
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6C838#FFFFFF#000000##000000
##A6C8381.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC1D
Deuteranopia (green-blind)
#D0BB44
Tritanopia (blue-blind)
#AFBEAC
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #a6c838;
/* rgb */ color: rgb(166, 200, 56);
/* oklch */ color: oklch(78.2% 0.169 122.1);
Tailwind
colors: {
  custom: {
    50: '#c4d878',
    500: '#a6c838',
    950: '#000000',
  },
}
SCSS
$custom: #a6c838;
$custom-light: #c4d878;
$custom-dark: #000000;
JSON
{
  "hex": "#a6c838",
  "rgb": {
    "r": 166,
    "g": 200,
    "b": 56
  },
  "hsl": {
    "h": 74.167,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.78166,
    "c": 0.16896,
    "h": 122.1
  },
  "luminance": 0.49701
}

Semantic roles & 50–950 ramp

primary
#A6C838
secondary
#9D8ECE
accent
#48E06C
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #A6C838

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

Preview Lab → · Contrast checker → · Palette generator →

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