#ABA74F#ABA74F

#ABA74F is a light, moderate yellow. Relative luminance 0.369; OKLCH L 71.3% C 0.111 H 106.5°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#ABA74F
RGBrgb(171, 167, 79)
HSLhsl(57, 37%, 49%)
HSVhsv(57, 54%, 67%)
CMYKcmyk(0%, 2.3%, 53.8%, 32.9%)
CIE-LABlab(67.17, -10.57, 45.37)
CIE-LCHlch(67.17, 46.58, 103.12°)
OKLaboklab(71.33% -0.0315 0.1062)
OKLCHoklch(71.33% 0.111 106.5)
XYZxyz(32.0255, 36.8608, 12.8235)
Luminance0.3686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA74F #4F53AB
analogous
#AB794F #ABA74F #81AB4F
triadic
#ABA74F #4FABA7 #A74FAB
tetradic
#ABA74F #4FAB79 #4F53AB #AB4F81
square
#ABA74F #4FAB79 #4F53AB #AB4F81
split-complementary
#ABA74F #4F81AB #794FAB
monochromatic
#575528 #817E3C #ABA74F #C0BD77 #D4D1A1

Accessibility & contrast

On white

2.51
#ABA74F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#ABA74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA74F
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA74F#FFFFFF#000000##000000
##ABA74F1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A146
Deuteranopia (green-blind)
#B5A553
Tritanopia (blue-blind)
#B69D93
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aba74f;
/* rgb */ color: rgb(171, 167, 79);
/* oklch */ color: oklch(71.3% 0.111 106.5);
Tailwind
colors: {
  custom: {
    50: '#c6c183',
    500: '#aba74f',
    950: '#000000',
  },
}
SCSS
$custom: #aba74f;
$custom-light: #c6c183;
$custom-dark: #000000;
JSON
{
  "hex": "#aba74f",
  "rgb": {
    "r": 171,
    "g": 167,
    "b": 79
  },
  "hsl": {
    "h": 57.391,
    "s": 36.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.71334,
    "c": 0.1108,
    "h": 106.5
  },
  "luminance": 0.3686
}

Semantic roles & 50–950 ramp

primary
#ABA74F
secondary
#9597C1
accent
#60CD5B
background
#FCFBF8
surface
#F8F7EF
border
#D1D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #ABA74F

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

Preview Lab → · Contrast checker → · Palette generator →

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