#ABA73F#ABA73F

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

Color values

HEX#ABA73F
RGBrgb(171, 167, 63)
HSLhsl(58, 46%, 46%)
HSVhsv(58, 63%, 67%)
CMYKcmyk(0%, 2.3%, 63.2%, 32.9%)
CIE-LABlab(67.02, -11.78, 52.55)
CIE-LCHlch(67.02, 53.85, 102.63°)
OKLaboklab(71.16% -0.0367 0.1195)
OKLCHoklch(71.16% 0.125 107.1)
XYZxyz(31.5116, 36.6552, 10.1169)
Luminance0.3665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA73F #3F43AB
analogous
#AB713F #ABA73F #79AB3F
triadic
#ABA73F #3FABA7 #A73FAB
tetradic
#ABA73F #3FAB71 #3F43AB #AB3F79
square
#ABA73F #3FAB71 #3F43AB #AB3F79
split-complementary
#ABA73F #3F79AB #713FAB
monochromatic
#52501E #7E7B2F #ABA73F #C5C162 #D6D38F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABA73F#FFFFFF#000000##000000
##ABA73F1.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)
#B4A132
Deuteranopia (green-blind)
#B7A545
Tritanopia (blue-blind)
#B79D91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aba73f;
/* rgb */ color: rgb(171, 167, 63);
/* oklch */ color: oklch(71.2% 0.125 107.1);
Tailwind
colors: {
  custom: {
    50: '#c7c079',
    500: '#aba73f',
    950: '#000000',
  },
}
SCSS
$custom: #aba73f;
$custom-light: #c7c079;
$custom-dark: #000000;
JSON
{
  "hex": "#aba73f",
  "rgb": {
    "r": 171,
    "g": 167,
    "b": 63
  },
  "hsl": {
    "h": 57.778,
    "s": 46.154,
    "l": 45.882
  },
  "oklch": {
    "l": 0.71161,
    "c": 0.12503,
    "h": 107.1
  },
  "luminance": 0.36654
}

Semantic roles & 50–950 ramp

primary
#ABA73F
secondary
#8587C1
accent
#57D652
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #ABA73F

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

Preview Lab → · Contrast checker → · Palette generator →

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