#A8B72C#A8B72C

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

Color values

HEX#A8B72C
RGBrgb(168, 183, 44)
HSLhsl(66, 61%, 45%)
HSVhsv(66, 76%, 72%)
CMYKcmyk(8.2%, 0%, 76%, 28.2%)
CIE-LABlab(71.13, -22.23, 63.77)
CIE-LCHlch(71.13, 67.53, 109.22°)
OKLaboklab(74.35% -0.0677 0.1401)
OKLCHoklch(74.35% 0.156 115.8)
XYZxyz(33.5375, 42.3742, 8.7947)
Luminance0.4237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B72C #3B2CB7
analogous
#B7812C #A8B72C #63B72C
triadic
#A8B72C #2CA8B7 #B72CA8
tetradic
#A8B72C #2CB781 #3B2CB7 #B72C63
square
#A8B72C #2CB781 #3B2CB7 #B72C63
split-complementary
#A8B72C #2C63B7 #812CB7
monochromatic
#4D5414 #7B8620 #A8B72C #C5D44C #D5E07E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #a8b72c;
/* rgb */ color: rgb(168, 183, 44);
/* oklch */ color: oklch(74.4% 0.156 115.8);
Tailwind
colors: {
  custom: {
    50: '#c5cc70',
    500: '#a8b72c',
    950: '#000000',
  },
}
SCSS
$custom: #a8b72c;
$custom-light: #c5cc70;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b72c",
  "rgb": {
    "r": 168,
    "g": 183,
    "b": 44
  },
  "hsl": {
    "h": 66.475,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.7435,
    "c": 0.15559,
    "h": 115.8
  },
  "luminance": 0.42374
}

Semantic roles & 50–950 ramp

primary
#A8B72C
secondary
#7F76C8
accent
#43E455
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B72C

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

Preview Lab → · Contrast checker → · Palette generator →

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