#A7B72A#A7B72A

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

Color values

HEX#A7B72A
RGBrgb(167, 183, 42)
HSLhsl(67, 63%, 44%)
HSVhsv(67, 77%, 72%)
CMYKcmyk(8.7%, 0%, 77%, 28.2%)
CIE-LABlab(71.04, -22.74, 64.29)
CIE-LCHlch(71.04, 68.20, 109.48°)
OKLaboklab(74.26% -0.0692 0.1409)
OKLCHoklch(74.26% 0.157 116.2)
XYZxyz(33.2887, 42.2501, 8.5915)
Luminance0.4225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B72A #3A2AB7
analogous
#B7812A #A7B72A #60B72A
triadic
#A7B72A #2AA7B7 #B72AA7
tetradic
#A7B72A #2AB781 #3A2AB7 #B72A60
square
#A7B72A #2AB781 #3A2AB7 #B72A60
split-complementary
#A7B72A #2A60B7 #812AB7
monochromatic
#4C5313 #7A851F #A7B72A #C5D549 #D5E17B

Accessibility & contrast

On white

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

On black

9.45
#A7B72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B72A
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B72A#FFFFFF#000000##000000
##A7B72A1.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7b72a;
/* rgb */ color: rgb(167, 183, 42);
/* oklch */ color: oklch(74.3% 0.157 116.2);
Tailwind
colors: {
  custom: {
    50: '#c5cc70',
    500: '#a7b72a',
    950: '#000000',
  },
}
SCSS
$custom: #a7b72a;
$custom-light: #c5cc70;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b72a",
  "rgb": {
    "r": 167,
    "g": 183,
    "b": 42
  },
  "hsl": {
    "h": 66.809,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.74259,
    "c": 0.15697,
    "h": 116.2
  },
  "luminance": 0.4225
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A7B72A

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

Preview Lab → · Contrast checker → · Palette generator →

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