#A6B72A#A6B72A

#A6B72A is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.2% C 0.157 H 116.5°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#A6B72A
RGBrgb(166, 183, 42)
HSLhsl(67, 63%, 44%)
HSVhsv(67, 77%, 72%)
CMYKcmyk(9.3%, 0%, 77%, 28.2%)
CIE-LABlab(70.97, -23.16, 64.20)
CIE-LCHlch(70.97, 68.25, 109.84°)
OKLaboklab(74.18% -0.0703 0.1407)
OKLCHoklch(74.18% 0.157 116.5)
XYZxyz(33.0782, 42.1416, 8.5816)
Luminance0.4214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B72A #3B2AB7
analogous
#B7822A #A6B72A #60B72A
triadic
#A6B72A #2AA6B7 #B72AA6
tetradic
#A6B72A #2AB782 #3B2AB7 #B72A60
square
#A6B72A #2AB782 #3B2AB7 #B72A60
split-complementary
#A6B72A #2A60B7 #822AB7
monochromatic
#4C5313 #79851F #A6B72A #C4D549 #D4E17B

Accessibility & contrast

On white

2.23
#A6B72A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#A6B72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B72A
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B72A#FFFFFF#000000##000000
##A6B72A1.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD00
Deuteranopia (green-blind)
#C2AF37
Tritanopia (blue-blind)
#B1AC9D
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a6b72a;
/* rgb */ color: rgb(166, 183, 42);
/* oklch */ color: oklch(74.2% 0.157 116.5);
Tailwind
colors: {
  custom: {
    50: '#c4cc70',
    500: '#a6b72a',
    950: '#000000',
  },
}
SCSS
$custom: #a6b72a;
$custom-light: #c4cc70;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b72a",
  "rgb": {
    "r": 166,
    "g": 183,
    "b": 42
  },
  "hsl": {
    "h": 67.234,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.74181,
    "c": 0.15731,
    "h": 116.5
  },
  "luminance": 0.42141
}

Semantic roles & 50–950 ramp

primary
#A6B72A
secondary
#7E74C9
accent
#42E656
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6B72A

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

Preview Lab → · Contrast checker → · Palette generator →

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