#A8B72A#A8B72A

#A8B72A is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.3% C 0.157 H 115.8°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#A8B72A
RGBrgb(168, 183, 42)
HSLhsl(66, 63%, 44%)
HSVhsv(66, 77%, 72%)
CMYKcmyk(8.2%, 0%, 77%, 28.2%)
CIE-LABlab(71.12, -22.32, 64.39)
CIE-LCHlch(71.12, 68.15, 109.12°)
OKLaboklab(74.34% -0.0681 0.1411)
OKLCHoklch(74.34% 0.157 115.8)
XYZxyz(33.5008, 42.3595, 8.6015)
Luminance0.4236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B72A #392AB7
analogous
#B7802A #A8B72A #62B72A
triadic
#A8B72A #2AA8B7 #B72AA8
tetradic
#A8B72A #2AB780 #392AB7 #B72A62
square
#A8B72A #2AB780 #392AB7 #B72A62
split-complementary
#A8B72A #2A62B7 #802AB7
monochromatic
#4D5313 #7A851F #A8B72A #C6D549 #D6E17B

Accessibility & contrast

On white

2.22
#A8B72A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#A8B72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B72A
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B72A#FFFFFF#000000##000000
##A8B72A1.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8b72a;
/* rgb */ color: rgb(168, 183, 42);
/* oklch */ color: oklch(74.3% 0.157 115.8);
Tailwind
colors: {
  custom: {
    50: '#c6cc70',
    500: '#a8b72a',
    950: '#000000',
  },
}
SCSS
$custom: #a8b72a;
$custom-light: #c6cc70;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b72a",
  "rgb": {
    "r": 168,
    "g": 183,
    "b": 42
  },
  "hsl": {
    "h": 66.383,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.74338,
    "c": 0.15663,
    "h": 115.8
  },
  "luminance": 0.42359
}

Semantic roles & 50–950 ramp

primary
#A8B72A
secondary
#7D74C9
accent
#42E653
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B72A

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

Preview Lab → · Contrast checker → · Palette generator →

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