#ABB72C#ABB72C

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

Color values

HEX#ABB72C
RGBrgb(171, 183, 44)
HSLhsl(65, 61%, 45%)
HSVhsv(65, 76%, 72%)
CMYKcmyk(6.6%, 0%, 76%, 28.2%)
CIE-LABlab(71.36, -20.96, 64.06)
CIE-LCHlch(71.36, 67.40, 108.12°)
OKLaboklab(74.59% -0.0643 0.1406)
OKLCHoklch(74.59% 0.155 114.6)
XYZxyz(34.1837, 42.7074, 8.8250)
Luminance0.4271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB72C #382CB7
analogous
#B77E2C #ABB72C #66B72C
triadic
#ABB72C #2CABB7 #B72CAB
tetradic
#ABB72C #2CB77E #382CB7 #B72C66
square
#ABB72C #2CB77E #382CB7 #B72C66
split-complementary
#ABB72C #2C66B7 #7E2CB7
monochromatic
#4F5414 #7D8620 #ABB72C #C8D44C #D7E07E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABB72C#FFFFFF#000000##000000
##ABB72C1.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)
#C5AE07
Deuteranopia (green-blind)
#C4B038
Tritanopia (blue-blind)
#B6AC9D
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #abb72c;
/* rgb */ color: rgb(171, 183, 44);
/* oklch */ color: oklch(74.6% 0.155 114.6);
Tailwind
colors: {
  custom: {
    50: '#c8cc71',
    500: '#abb72c',
    950: '#000000',
  },
}
SCSS
$custom: #abb72c;
$custom-light: #c8cc71;
$custom-dark: #000000;
JSON
{
  "hex": "#abb72c",
  "rgb": {
    "r": 171,
    "g": 183,
    "b": 44
  },
  "hsl": {
    "h": 65.18,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.74589,
    "c": 0.15463,
    "h": 114.6
  },
  "luminance": 0.42707
}

Semantic roles & 50–950 ramp

primary
#ABB72C
secondary
#7D76C8
accent
#43E451
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ABB72C

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

Preview Lab → · Contrast checker → · Palette generator →

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