#ABA72E#ABA72E

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

Color values

HEX#ABA72E
RGBrgb(171, 167, 46)
HSLhsl(58, 58%, 43%)
HSVhsv(58, 73%, 67%)
CMYKcmyk(0%, 2.3%, 73.1%, 32.9%)
CIE-LABlab(66.90, -12.74, 59.19)
CIE-LCHlch(66.90, 60.55, 102.14°)
OKLaboklab(71.02% -0.0412 0.1307)
OKLCHoklch(71.02% 0.137 107.5)
XYZxyz(31.1076, 36.4937, 7.9896)
Luminance0.3649 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA72E #2E32AB
analogous
#AB682E #ABA72E #70AB2E
triadic
#ABA72E #2EABA7 #A72EAB
tetradic
#ABA72E #2EAB68 #2E32AB #AB2E70
square
#ABA72E #2EAB68 #2E32AB #AB2E70
split-complementary
#ABA72E #2E70AB #682EAB
monochromatic
#4B4914 #7B7821 #ABA72E #CECA48 #DBD879

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABA72E#FFFFFF#000000##000000
##ABA72E1.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)
#B5A017
Deuteranopia (green-blind)
#B7A537
Tritanopia (blue-blind)
#B89C90
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aba72e;
/* rgb */ color: rgb(171, 167, 46);
/* oklch */ color: oklch(71.0% 0.137 107.5);
Tailwind
colors: {
  custom: {
    50: '#c7c070',
    500: '#aba72e',
    950: '#000000',
  },
}
SCSS
$custom: #aba72e;
$custom-light: #c7c070;
$custom-dark: #000000;
JSON
{
  "hex": "#aba72e",
  "rgb": {
    "r": 171,
    "g": 167,
    "b": 46
  },
  "hsl": {
    "h": 58.08,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.71024,
    "c": 0.13702,
    "h": 107.5
  },
  "luminance": 0.36493
}

Semantic roles & 50–950 ramp

primary
#ABA72E
secondary
#7274C3
accent
#4CE147
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #ABA72E

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

Preview Lab → · Contrast checker → · Palette generator →

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