#ABA73E#ABA73E

#ABA73E is a light, vivid yellow. Relative luminance 0.366; OKLCH L 71.2% C 0.126 H 107.1°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#ABA73E
RGBrgb(171, 167, 62)
HSLhsl(58, 47%, 46%)
HSVhsv(58, 64%, 67%)
CMYKcmyk(0%, 2.3%, 63.7%, 32.9%)
CIE-LABlab(67.01, -11.84, 52.97)
CIE-LCHlch(67.01, 54.28, 102.60°)
OKLaboklab(71.15% -0.037 0.1203)
OKLCHoklch(71.15% 0.126 107.1)
XYZxyz(31.4839, 36.6442, 9.9711)
Luminance0.3664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA73E #3E42AB
analogous
#AB703E #ABA73E #78AB3E
triadic
#ABA73E #3EABA7 #A73EAB
tetradic
#ABA73E #3EAB70 #3E42AB #AB3E78
square
#ABA73E #3EAB70 #3E42AB #AB3E78
split-complementary
#ABA73E #3E78AB #703EAB
monochromatic
#514F1D #7E7B2E #ABA73E #C6C261 #D6D38E

Accessibility & contrast

On white

2.52
#ABA73E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#ABA73E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA73E
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA73E#FFFFFF#000000##000000
##ABA73E1.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A131
Deuteranopia (green-blind)
#B7A544
Tritanopia (blue-blind)
#B79D91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aba73e;
/* rgb */ color: rgb(171, 167, 62);
/* oklch */ color: oklch(71.2% 0.126 107.1);
Tailwind
colors: {
  custom: {
    50: '#c7c078',
    500: '#aba73e',
    950: '#000000',
  },
}
SCSS
$custom: #aba73e;
$custom-light: #c7c078;
$custom-dark: #000000;
JSON
{
  "hex": "#aba73e",
  "rgb": {
    "r": 171,
    "g": 167,
    "b": 62
  },
  "hsl": {
    "h": 57.798,
    "s": 46.781,
    "l": 45.686
  },
  "oklch": {
    "l": 0.71152,
    "c": 0.12582,
    "h": 107.1
  },
  "luminance": 0.36643
}

Semantic roles & 50–950 ramp

primary
#ABA73E
secondary
#8486C1
accent
#56D651
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #ABA73E

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

Preview Lab → · Contrast checker → · Palette generator →

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