#ABA72F#ABA72F

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

Color values

HEX#ABA72F
RGBrgb(171, 167, 47)
HSLhsl(58, 57%, 43%)
HSVhsv(58, 73%, 67%)
CMYKcmyk(0%, 2.3%, 72.5%, 32.9%)
CIE-LABlab(66.90, -12.69, 58.84)
CIE-LCHlch(66.90, 60.19, 102.17°)
OKLaboklab(71.03% -0.041 0.1301)
OKLCHoklch(71.03% 0.136 107.5)
XYZxyz(31.1276, 36.5016, 8.0946)
Luminance0.3650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA72F #2F33AB
analogous
#AB692F #ABA72F #71AB2F
triadic
#ABA72F #2FABA7 #A72FAB
tetradic
#ABA72F #2FAB69 #2F33AB #AB2F71
square
#ABA72F #2FAB69 #2F33AB #AB2F71
split-complementary
#ABA72F #2F71AB #692FAB
monochromatic
#4B4915 #7B7822 #ABA72F #CDC94A #DAD77A

Accessibility & contrast

On white

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

On black

8.30
#ABA72F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA72F
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA72F#FFFFFF#000000##000000
##ABA72F1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A019
Deuteranopia (green-blind)
#B7A538
Tritanopia (blue-blind)
#B89C90
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aba72f;
/* rgb */ color: rgb(171, 167, 47);
/* oklch */ color: oklch(71.0% 0.136 107.5);
Tailwind
colors: {
  custom: {
    50: '#c7c070',
    500: '#aba72f',
    950: '#000000',
  },
}
SCSS
$custom: #aba72f;
$custom-light: #c7c070;
$custom-dark: #000000;
JSON
{
  "hex": "#aba72f",
  "rgb": {
    "r": 171,
    "g": 167,
    "b": 47
  },
  "hsl": {
    "h": 58.065,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.71031,
    "c": 0.1364,
    "h": 107.5
  },
  "luminance": 0.36501
}

Semantic roles & 50–950 ramp

primary
#ABA72F
secondary
#7376C3
accent
#4DE048
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #ABA72F

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

Preview Lab → · Contrast checker → · Palette generator →

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