#A8B72B#A8B72B

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

Color values

HEX#A8B72B
RGBrgb(168, 183, 43)
HSLhsl(66, 62%, 44%)
HSVhsv(66, 77%, 72%)
CMYKcmyk(8.2%, 0%, 76.5%, 28.2%)
CIE-LABlab(71.12, -22.28, 64.08)
CIE-LCHlch(71.12, 67.84, 109.17°)
OKLaboklab(74.34% -0.0679 0.1406)
OKLCHoklch(74.34% 0.156 115.8)
XYZxyz(33.5189, 42.3668, 8.6969)
Luminance0.4237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B72B #3A2BB7
analogous
#B7802B #A8B72B #62B72B
triadic
#A8B72B #2BA8B7 #B72BA8
tetradic
#A8B72B #2BB780 #3A2BB7 #B72B62
square
#A8B72B #2BB780 #3A2BB7 #B72B62
split-complementary
#A8B72B #2B62B7 #802BB7
monochromatic
#4D5414 #7B851F #A8B72B #C6D54B #D6E07C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #a8b72b;
/* rgb */ color: rgb(168, 183, 43);
/* oklch */ color: oklch(74.3% 0.156 115.8);
Tailwind
colors: {
  custom: {
    50: '#c5cc70',
    500: '#a8b72b',
    950: '#000000',
  },
}
SCSS
$custom: #a8b72b;
$custom-light: #c5cc70;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b72b",
  "rgb": {
    "r": 168,
    "g": 183,
    "b": 43
  },
  "hsl": {
    "h": 66.429,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.74344,
    "c": 0.15611,
    "h": 115.8
  },
  "luminance": 0.42366
}

Semantic roles & 50–950 ramp

primary
#A8B72B
secondary
#7E75C9
accent
#43E554
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B72B

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

Preview Lab → · Contrast checker → · Palette generator →

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