#ABA72B#ABA72B

#ABA72B is a light, vivid yellow. Relative luminance 0.365; OKLCH L 71.0% C 0.139 H 107.6°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#ABA72B
RGBrgb(171, 167, 43)
HSLhsl(58, 60%, 42%)
HSVhsv(58, 75%, 67%)
CMYKcmyk(0%, 2.3%, 74.9%, 32.9%)
CIE-LABlab(66.88, -12.87, 60.23)
CIE-LCHlch(66.88, 61.59, 102.06°)
OKLaboklab(71.01% -0.0419 0.1323)
OKLCHoklch(71.01% 0.139 107.6)
XYZxyz(31.0506, 36.4708, 7.6890)
Luminance0.3647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA72B #2B2FAB
analogous
#AB672B #ABA72B #6FAB2B
triadic
#ABA72B #2BABA7 #A72BAB
tetradic
#ABA72B #2BAB67 #2B2FAB #AB2B6F
square
#ABA72B #2BAB67 #2B2FAB #AB2B6F
split-complementary
#ABA72B #2B6FAB #672BAB
monochromatic
#494712 #7A771F #ABA72B #D0CB43 #DCD974

Accessibility & contrast

On white

2.53
#ABA72B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#ABA72B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA72B
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA72B#FFFFFF#000000##000000
##ABA72B1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A010
Deuteranopia (green-blind)
#B8A535
Tritanopia (blue-blind)
#B89C8F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aba72b;
/* rgb */ color: rgb(171, 167, 43);
/* oklch */ color: oklch(71.0% 0.139 107.6);
Tailwind
colors: {
  custom: {
    50: '#c8c06e',
    500: '#aba72b',
    950: '#000000',
  },
}
SCSS
$custom: #aba72b;
$custom-light: #c8c06e;
$custom-dark: #000000;
JSON
{
  "hex": "#aba72b",
  "rgb": {
    "r": 171,
    "g": 167,
    "b": 43
  },
  "hsl": {
    "h": 58.125,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.71005,
    "c": 0.13877,
    "h": 107.6
  },
  "luminance": 0.3647
}

Semantic roles & 50–950 ramp

primary
#ABA72B
secondary
#6E71C4
accent
#4AE345
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#141208
muted
#82817B

Preview Lab

Preview with #ABA72B

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

Preview Lab → · Contrast checker → · Palette generator →

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