#A6BA36#A6BA36

#A6BA36 is a light, vivid yellow. Relative luminance 0.435; OKLCH L 74.9% C 0.154 H 117.8°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#A6BA36
RGBrgb(166, 186, 54)
HSLhsl(69, 55%, 47%)
HSVhsv(69, 71%, 73%)
CMYKcmyk(10.8%, 0%, 71%, 27.1%)
CIE-LABlab(71.89, -24.06, 61.01)
CIE-LCHlch(71.89, 65.58, 111.52°)
OKLaboklab(74.94% -0.0717 0.1361)
OKLCHoklch(74.94% 0.154 117.8)
XYZxyz(33.9514, 43.4915, 10.0954)
Luminance0.4349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BA36 #4A36BA
analogous
#BA8C36 #A6BA36 #64BA36
triadic
#A6BA36 #36A6BA #BA36A6
tetradic
#A6BA36 #36BA8C #4A36BA #BA3664
square
#A6BA36 #36BA8C #4A36BA #BA3664
split-complementary
#A6BA36 #3664BA #8C36BA
monochromatic
#515B1A #7C8B28 #A6BA36 #BFD05D #D1DE8D

Accessibility & contrast

On white

2.17
#A6BA36 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#A6BA36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6BA36
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6BA36#FFFFFF#000000##000000
##A6BA361.002.179.709.70
#FFFFFF2.171.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B01F
Deuteranopia (green-blind)
#C4B141
Tritanopia (blue-blind)
#B0B0A0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a6ba36;
/* rgb */ color: rgb(166, 186, 54);
/* oklch */ color: oklch(74.9% 0.154 117.8);
Tailwind
colors: {
  custom: {
    50: '#c4ce76',
    500: '#a6ba36',
    950: '#000000',
  },
}
SCSS
$custom: #a6ba36;
$custom-light: #c4ce76;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ba36",
  "rgb": {
    "r": 166,
    "g": 186,
    "b": 54
  },
  "hsl": {
    "h": 69.091,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.74941,
    "c": 0.15381,
    "h": 117.8
  },
  "luminance": 0.43491
}

Semantic roles & 50–950 ramp

primary
#A6BA36
secondary
#8E84C8
accent
#49DE60
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A6BA36

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

Preview Lab → · Contrast checker → · Palette generator →

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