#A6B52A#A6B52A

#A6B52A is a light, vivid yellow. Relative luminance 0.413; OKLCH L 73.7% C 0.155 H 115.8°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#A6B52A
RGBrgb(166, 181, 42)
HSLhsl(66, 62%, 44%)
HSVhsv(66, 77%, 71%)
CMYKcmyk(8.3%, 0%, 76.8%, 29%)
CIE-LABlab(70.40, -22.18, 63.67)
CIE-LCHlch(70.40, 67.43, 109.20°)
OKLaboklab(73.72% -0.0676 0.1396)
OKLCHoklch(73.72% 0.155 115.8)
XYZxyz(32.6686, 41.3224, 8.4451)
Luminance0.4132 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B52A #392AB5
analogous
#B57E2A #A6B52A #60B52A
triadic
#A6B52A #2AA6B5 #B52AA6
tetradic
#A6B52A #2AB57E #392AB5 #B52A60
square
#A6B52A #2AB57E #392AB5 #B52A60
split-complementary
#A6B52A #2A60B5 #7E2AB5
monochromatic
#4B5213 #78831E #A6B52A #C5D448 #D5E079

Accessibility & contrast

On white

2.27
#A6B52A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#A6B52A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B52A
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B52A#FFFFFF#000000##000000
##A6B52A1.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB02
Deuteranopia (green-blind)
#C1AD37
Tritanopia (blue-blind)
#B1AA9B
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a6b52a;
/* rgb */ color: rgb(166, 181, 42);
/* oklch */ color: oklch(73.7% 0.155 115.8);
Tailwind
colors: {
  custom: {
    50: '#c4cb6f',
    500: '#a6b52a',
    950: '#000000',
  },
}
SCSS
$custom: #a6b52a;
$custom-light: #c4cb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b52a",
  "rgb": {
    "r": 166,
    "g": 181,
    "b": 42
  },
  "hsl": {
    "h": 66.475,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.73725,
    "c": 0.15512,
    "h": 115.8
  },
  "luminance": 0.41322
}

Semantic roles & 50–950 ramp

primary
#A6B52A
secondary
#7C73C8
accent
#42E554
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6B52A

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

Preview Lab → · Contrast checker → · Palette generator →

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