#ABB72E#ABB72E

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

Color values

HEX#ABB72E
RGBrgb(171, 183, 46)
HSLhsl(65, 60%, 45%)
HSVhsv(65, 75%, 72%)
CMYKcmyk(6.6%, 0%, 74.9%, 28.2%)
CIE-LABlab(71.37, -20.87, 63.42)
CIE-LCHlch(71.37, 66.77, 108.22°)
OKLaboklab(74.6% -0.0639 0.1396)
OKLCHoklch(74.6% 0.154 114.6)
XYZxyz(34.2222, 42.7228, 9.0278)
Luminance0.4272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB72E #3A2EB7
analogous
#B77E2E #ABB72E #67B72E
triadic
#ABB72E #2EABB7 #B72EAB
tetradic
#ABB72E #2EB77E #3A2EB7 #B72E67
square
#ABB72E #2EB77E #3A2EB7 #B72E67
split-complementary
#ABB72E #2E67B7 #7E2EB7
monochromatic
#505515 #7D8622 #ABB72E #C7D34F #D7DF80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABB72E#FFFFFF#000000##000000
##ABB72E1.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)
#C4AE0E
Deuteranopia (green-blind)
#C4B03A
Tritanopia (blue-blind)
#B6AC9D
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #abb72e;
/* rgb */ color: rgb(171, 183, 46);
/* oklch */ color: oklch(74.6% 0.154 114.6);
Tailwind
colors: {
  custom: {
    50: '#c8cc71',
    500: '#abb72e',
    950: '#000000',
  },
}
SCSS
$custom: #abb72e;
$custom-light: #c8cc71;
$custom-dark: #000000;
JSON
{
  "hex": "#abb72e",
  "rgb": {
    "r": 171,
    "g": 183,
    "b": 46
  },
  "hsl": {
    "h": 65.255,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.74601,
    "c": 0.15355,
    "h": 114.6
  },
  "luminance": 0.42722
}

Semantic roles & 50–950 ramp

primary
#ABB72E
secondary
#8079C8
accent
#45E353
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ABB72E

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

Preview Lab → · Contrast checker → · Palette generator →

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