#A6B72F#A6B72F

#A6B72F 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.44:1 contrast (WCAG AA passes).

Color values

HEX#A6B72F
RGBrgb(166, 183, 47)
HSLhsl(68, 59%, 45%)
HSVhsv(68, 74%, 72%)
CMYKcmyk(9.3%, 0%, 74.3%, 28.2%)
CIE-LABlab(70.99, -22.94, 62.60)
CIE-LCHlch(70.99, 66.67, 110.13°)
OKLaboklab(74.21% -0.0693 0.1382)
OKLCHoklch(74.21% 0.155 116.6)
XYZxyz(33.1733, 42.1796, 9.0827)
Luminance0.4218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B72F #402FB7
analogous
#B7842F #A6B72F #62B72F
triadic
#A6B72F #2FA6B7 #B72FA6
tetradic
#A6B72F #2FB784 #402FB7 #B72F62
square
#A6B72F #2FB784 #402FB7 #B72F62
split-complementary
#A6B72F #2F62B7 #842FB7
monochromatic
#4E5616 #7A8622 #A6B72F #C2D251 #D3DF82

Accessibility & contrast

On white

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

On black

9.44
#A6B72F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B72F
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B72F#FFFFFF#000000##000000
##A6B72F1.002.239.449.44
#FFFFFF2.231.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6b72f;
/* rgb */ color: rgb(166, 183, 47);
/* oklch */ color: oklch(74.2% 0.155 116.6);
Tailwind
colors: {
  custom: {
    50: '#c4cc72',
    500: '#a6b72f',
    950: '#000000',
  },
}
SCSS
$custom: #a6b72f;
$custom-light: #c4cc72;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b72f",
  "rgb": {
    "r": 166,
    "g": 183,
    "b": 47
  },
  "hsl": {
    "h": 67.5,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.7421,
    "c": 0.15462,
    "h": 116.6
  },
  "luminance": 0.42179
}

Semantic roles & 50–950 ramp

primary
#A6B72F
secondary
#847AC8
accent
#45E259
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6B72F

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

Preview Lab → · Contrast checker → · Palette generator →

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