#A6B72E#A6B72E

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

Color values

HEX#A6B72E
RGBrgb(166, 183, 46)
HSLhsl(67, 60%, 45%)
HSVhsv(67, 75%, 72%)
CMYKcmyk(9.3%, 0%, 74.9%, 28.2%)
CIE-LABlab(70.99, -22.99, 62.93)
CIE-LCHlch(70.99, 67.00, 110.07°)
OKLaboklab(74.2% -0.0695 0.1388)
OKLCHoklch(74.2% 0.155 116.6)
XYZxyz(33.1534, 42.1717, 8.9777)
Luminance0.4217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B72E #3F2EB7
analogous
#B7832E #A6B72E #62B72E
triadic
#A6B72E #2EA6B7 #B72EA6
tetradic
#A6B72E #2EB783 #3F2EB7 #B72E62
square
#A6B72E #2EB783 #3F2EB7 #B72E62
split-complementary
#A6B72E #2E62B7 #832EB7
monochromatic
#4D5515 #7A8622 #A6B72E #C3D34F #D3DF80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6B72E#FFFFFF#000000##000000
##A6B72E1.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)
#C4AD0E
Deuteranopia (green-blind)
#C2AF3A
Tritanopia (blue-blind)
#B1AC9D
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a6b72e;
/* rgb */ color: rgb(166, 183, 46);
/* oklch */ color: oklch(74.2% 0.155 116.6);
Tailwind
colors: {
  custom: {
    50: '#c4cc71',
    500: '#a6b72e',
    950: '#000000',
  },
}
SCSS
$custom: #a6b72e;
$custom-light: #c4cc71;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b72e",
  "rgb": {
    "r": 166,
    "g": 183,
    "b": 46
  },
  "hsl": {
    "h": 67.445,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.74204,
    "c": 0.15517,
    "h": 116.6
  },
  "luminance": 0.42171
}

Semantic roles & 50–950 ramp

primary
#A6B72E
secondary
#8379C8
accent
#45E358
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6B72E

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

Preview Lab → · Contrast checker → · Palette generator →

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