#A6B72C#A6B72C

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

Color values

HEX#A6B72C
RGBrgb(166, 183, 44)
HSLhsl(67, 61%, 45%)
HSVhsv(67, 76%, 72%)
CMYKcmyk(9.3%, 0%, 76%, 28.2%)
CIE-LABlab(70.98, -23.08, 63.57)
CIE-LCHlch(70.98, 67.63, 109.95°)
OKLaboklab(74.19% -0.0699 0.1398)
OKLCHoklch(74.19% 0.156 116.6)
XYZxyz(33.1149, 42.1563, 8.7749)
Luminance0.4216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B72C #3D2CB7
analogous
#B7832C #A6B72C #61B72C
triadic
#A6B72C #2CA6B7 #B72CA6
tetradic
#A6B72C #2CB783 #3D2CB7 #B72C61
square
#A6B72C #2CB783 #3D2CB7 #B72C61
split-complementary
#A6B72C #2C61B7 #832CB7
monochromatic
#4C5414 #798620 #A6B72C #C3D44C #D4E07E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6B72C#FFFFFF#000000##000000
##A6B72C1.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)
#C4AD07
Deuteranopia (green-blind)
#C2AF39
Tritanopia (blue-blind)
#B1AC9D
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a6b72c;
/* rgb */ color: rgb(166, 183, 44);
/* oklch */ color: oklch(74.2% 0.156 116.6);
Tailwind
colors: {
  custom: {
    50: '#c4cc70',
    500: '#a6b72c',
    950: '#000000',
  },
}
SCSS
$custom: #a6b72c;
$custom-light: #c4cc70;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b72c",
  "rgb": {
    "r": 166,
    "g": 183,
    "b": 44
  },
  "hsl": {
    "h": 67.338,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.74192,
    "c": 0.15627,
    "h": 116.6
  },
  "luminance": 0.42156
}

Semantic roles & 50–950 ramp

primary
#A6B72C
secondary
#8076C8
accent
#43E457
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6B72C

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

Preview Lab → · Contrast checker → · Palette generator →

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