#ABB72D#ABB72D

#ABB72D 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#ABB72D
RGBrgb(171, 183, 45)
HSLhsl(65, 61%, 45%)
HSVhsv(65, 75%, 72%)
CMYKcmyk(6.6%, 0%, 75.4%, 28.2%)
CIE-LABlab(71.36, -20.92, 63.74)
CIE-LCHlch(71.36, 67.09, 108.17°)
OKLaboklab(74.6% -0.0641 0.1401)
OKLCHoklch(74.6% 0.154 114.6)
XYZxyz(34.2027, 42.7150, 8.9252)
Luminance0.4271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB72D #392DB7
analogous
#B77E2D #ABB72D #66B72D
triadic
#ABB72D #2DABB7 #B72DAB
tetradic
#ABB72D #2DB77E #392DB7 #B72D66
square
#ABB72D #2DB77E #392DB7 #B72D66
split-complementary
#ABB72D #2D66B7 #7E2DB7
monochromatic
#4F5515 #7D8621 #ABB72D #C8D34E #D7DF7F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABB72D#FFFFFF#000000##000000
##ABB72D1.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)
#C4AE0B
Deuteranopia (green-blind)
#C4B039
Tritanopia (blue-blind)
#B6AC9D
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #abb72d;
/* rgb */ color: rgb(171, 183, 45);
/* oklch */ color: oklch(74.6% 0.154 114.6);
Tailwind
colors: {
  custom: {
    50: '#c8cc71',
    500: '#abb72d',
    950: '#000000',
  },
}
SCSS
$custom: #abb72d;
$custom-light: #c8cc71;
$custom-dark: #000000;
JSON
{
  "hex": "#abb72d",
  "rgb": {
    "r": 171,
    "g": 183,
    "b": 45
  },
  "hsl": {
    "h": 65.217,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.74595,
    "c": 0.15409,
    "h": 114.6
  },
  "luminance": 0.42714
}

Semantic roles & 50–950 ramp

primary
#ABB72D
secondary
#7F78C8
accent
#44E452
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ABB72D

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

Preview Lab → · Contrast checker → · Palette generator →

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