#A7B72C#A7B72C

#A7B72C 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#A7B72C
RGBrgb(167, 183, 44)
HSLhsl(67, 61%, 45%)
HSVhsv(67, 76%, 72%)
CMYKcmyk(8.7%, 0%, 76%, 28.2%)
CIE-LABlab(71.05, -22.66, 63.67)
CIE-LCHlch(71.05, 67.58, 109.59°)
OKLaboklab(74.27% -0.0688 0.1399)
OKLCHoklch(74.27% 0.156 116.2)
XYZxyz(33.3253, 42.2648, 8.7848)
Luminance0.4226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B72C #3C2CB7
analogous
#B7812C #A7B72C #62B72C
triadic
#A7B72C #2CA7B7 #B72CA7
tetradic
#A7B72C #2CB781 #3C2CB7 #B72C62
square
#A7B72C #2CB781 #3C2CB7 #B72C62
split-complementary
#A7B72C #2C62B7 #812CB7
monochromatic
#4D5414 #7A8620 #A7B72C #C4D44C #D5E07E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #a7b72c;
/* rgb */ color: rgb(167, 183, 44);
/* oklch */ color: oklch(74.3% 0.156 116.2);
Tailwind
colors: {
  custom: {
    50: '#c5cc70',
    500: '#a7b72c',
    950: '#000000',
  },
}
SCSS
$custom: #a7b72c;
$custom-light: #c5cc70;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b72c",
  "rgb": {
    "r": 167,
    "g": 183,
    "b": 44
  },
  "hsl": {
    "h": 66.906,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.74271,
    "c": 0.15592,
    "h": 116.2
  },
  "luminance": 0.42264
}

Semantic roles & 50–950 ramp

primary
#A7B72C
secondary
#8076C8
accent
#43E456
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7B72C

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

Preview Lab → · Contrast checker → · Palette generator →

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