#A6B13A#A6B13A

#A6B13A is a light, vivid yellow. Relative luminance 0.399; OKLCH L 72.9% C 0.141 H 114.5°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#A6B13A
RGBrgb(166, 177, 58)
HSLhsl(66, 51%, 46%)
HSVhsv(66, 67%, 69%)
CMYKcmyk(6.2%, 0%, 67.2%, 30.6%)
CIE-LABlab(69.37, -19.36, 56.95)
CIE-LCHlch(69.37, 60.16, 108.77°)
OKLaboklab(72.93% -0.0583 0.1282)
OKLCHoklch(72.93% 0.141 114.5)
XYZxyz(32.2126, 39.8573, 9.9985)
Luminance0.3986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B13A #453AB1
analogous
#B1803A #A6B13A #6AB13A
triadic
#A6B13A #3AA6B1 #B13AA6
tetradic
#A6B13A #3AB180 #453AB1 #B13A6A
square
#A6B13A #3AB180 #453AB1 #B13A6A
split-complementary
#A6B13A #3A6AB1 #803AB1
monochromatic
#50551C #7B832B #A6B13A #C0CA5E #D2D98C

Accessibility & contrast

On white

2.34
#A6B13A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#A6B13A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B13A
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B13A#FFFFFF#000000##000000
##A6B13A1.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA829
Deuteranopia (green-blind)
#BDAA43
Tritanopia (blue-blind)
#B1A799
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a6b13a;
/* rgb */ color: rgb(166, 177, 58);
/* oklch */ color: oklch(72.9% 0.141 114.5);
Tailwind
colors: {
  custom: {
    50: '#c3c877',
    500: '#a6b13a',
    950: '#000000',
  },
}
SCSS
$custom: #a6b13a;
$custom-light: #c3c877;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b13a",
  "rgb": {
    "r": 166,
    "g": 177,
    "b": 58
  },
  "hsl": {
    "h": 65.546,
    "s": 50.638,
    "l": 46.078
  },
  "oklch": {
    "l": 0.72927,
    "c": 0.14079,
    "h": 114.5
  },
  "luminance": 0.39857
}

Semantic roles & 50–950 ramp

primary
#A6B13A
secondary
#8983C4
accent
#4EDA5B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A6B13A

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

Preview Lab → · Contrast checker → · Palette generator →

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