#A6BA4E#A6BA4E

#A6BA4E is a light, vivid yellow-green. Relative luminance 0.438; OKLCH L 75.2% C 0.136 H 118.6°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#A6BA4E
RGBrgb(166, 186, 78)
HSLhsl(71, 44%, 52%)
HSVhsv(71, 58%, 73%)
CMYKcmyk(10.8%, 0%, 58.1%, 27.1%)
CIE-LABlab(72.08, -22.43, 51.32)
CIE-LCHlch(72.08, 56.01, 113.60°)
OKLaboklab(75.16% -0.0648 0.119)
OKLCHoklch(75.16% 0.136 118.6)
XYZxyz(34.6604, 43.7751, 13.8298)
Luminance0.4377 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BA4E #624EBA
analogous
#BA984E #A6BA4E #70BA4E
triadic
#A6BA4E #4EA6BA #BA4EA6
tetradic
#A6BA4E #4EBA98 #624EBA #BA4E70
square
#A6BA4E #4EBA98 #624EBA #BA4E70
split-complementary
#A6BA4E #4E70BA #984EBA
monochromatic
#5A6628 #819239 #A6BA4E #BCCB7A #D2DCA6

Accessibility & contrast

On white

2.15
#A6BA4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#A6BA4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6BA4E
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6BA4E#FFFFFF#000000##000000
##A6BA4E1.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B142
Deuteranopia (green-blind)
#C3B155
Tritanopia (blue-blind)
#AFB1A3
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a6ba4e;
/* rgb */ color: rgb(166, 186, 78);
/* oklch */ color: oklch(75.2% 0.136 118.6);
Tailwind
colors: {
  custom: {
    50: '#c3ce83',
    500: '#a6ba4e',
    950: '#000000',
  },
}
SCSS
$custom: #a6ba4e;
$custom-light: #c3ce83;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ba4e",
  "rgb": {
    "r": 166,
    "g": 186,
    "b": 78
  },
  "hsl": {
    "h": 71.111,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.75155,
    "c": 0.13551,
    "h": 118.6
  },
  "luminance": 0.43775
}

Semantic roles & 50–950 ramp

primary
#A6BA4E
secondary
#A39ACA
accent
#54D46C
background
#FCFCF8
surface
#F8F9EF
border
#D1D2CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #A6BA4E

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

Preview Lab → · Contrast checker → · Palette generator →

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