#ABB72A#ABB72A

#ABB72A is a light, vivid yellow. Relative luminance 0.427; OKLCH L 74.6% C 0.156 H 114.6°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#ABB72A
RGBrgb(171, 183, 42)
HSLhsl(65, 63%, 44%)
HSVhsv(65, 77%, 72%)
CMYKcmyk(6.6%, 0%, 77%, 28.2%)
CIE-LABlab(71.35, -21.04, 64.68)
CIE-LCHlch(71.35, 68.02, 108.02°)
OKLaboklab(74.58% -0.0647 0.1416)
OKLCHoklch(74.58% 0.156 114.6)
XYZxyz(34.1470, 42.6927, 8.6317)
Luminance0.4269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB72A #362AB7
analogous
#B77D2A #ABB72A #65B72A
triadic
#ABB72A #2AABB7 #B72AAB
tetradic
#ABB72A #2AB77D #362AB7 #B72A65
square
#ABB72A #2AB77D #362AB7 #B72A65
split-complementary
#ABB72A #2A65B7 #7D2AB7
monochromatic
#4E5313 #7C851F #ABB72A #C9D549 #D8E17B

Accessibility & contrast

On white

2.20
#ABB72A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#ABB72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB72A
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB72A#FFFFFF#000000##000000
##ABB72A1.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE00
Deuteranopia (green-blind)
#C4B037
Tritanopia (blue-blind)
#B7AC9D
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #abb72a;
/* rgb */ color: rgb(171, 183, 42);
/* oklch */ color: oklch(74.6% 0.156 114.6);
Tailwind
colors: {
  custom: {
    50: '#c8cc70',
    500: '#abb72a',
    950: '#000000',
  },
}
SCSS
$custom: #abb72a;
$custom-light: #c8cc70;
$custom-dark: #000000;
JSON
{
  "hex": "#abb72a",
  "rgb": {
    "r": 171,
    "g": 183,
    "b": 42
  },
  "hsl": {
    "h": 65.106,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.74578,
    "c": 0.15567,
    "h": 114.6
  },
  "luminance": 0.42692
}

Semantic roles & 50–950 ramp

primary
#ABB72A
secondary
#7B74C9
accent
#42E650
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ABB72A

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

Preview Lab → · Contrast checker → · Palette generator →

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