#A7B72B#A7B72B

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

Color values

HEX#A7B72B
RGBrgb(167, 183, 43)
HSLhsl(67, 62%, 44%)
HSVhsv(67, 77%, 72%)
CMYKcmyk(8.7%, 0%, 76.5%, 28.2%)
CIE-LABlab(71.05, -22.70, 63.98)
CIE-LCHlch(71.05, 67.89, 109.53°)
OKLaboklab(74.27% -0.069 0.1404)
OKLCHoklch(74.27% 0.156 116.2)
XYZxyz(33.3068, 42.2574, 8.6869)
Luminance0.4226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B72B #3B2BB7
analogous
#B7812B #A7B72B #61B72B
triadic
#A7B72B #2BA7B7 #B72BA7
tetradic
#A7B72B #2BB781 #3B2BB7 #B72B61
square
#A7B72B #2BB781 #3B2BB7 #B72B61
split-complementary
#A7B72B #2B61B7 #812BB7
monochromatic
#4D5414 #7A851F #A7B72B #C5D54B #D5E07C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7B72B#FFFFFF#000000##000000
##A7B72B1.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)
#C4AD04
Deuteranopia (green-blind)
#C3AF38
Tritanopia (blue-blind)
#B2AC9D
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a7b72b;
/* rgb */ color: rgb(167, 183, 43);
/* oklch */ color: oklch(74.3% 0.156 116.2);
Tailwind
colors: {
  custom: {
    50: '#c5cc70',
    500: '#a7b72b',
    950: '#000000',
  },
}
SCSS
$custom: #a7b72b;
$custom-light: #c5cc70;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b72b",
  "rgb": {
    "r": 167,
    "g": 183,
    "b": 43
  },
  "hsl": {
    "h": 66.857,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.74265,
    "c": 0.15645,
    "h": 116.2
  },
  "luminance": 0.42257
}

Semantic roles & 50–950 ramp

primary
#A7B72B
secondary
#7F75C9
accent
#43E555
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7B72B

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

Preview Lab → · Contrast checker → · Palette generator →

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