#ABA74E#ABA74E

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

Color values

HEX#ABA74E
RGBrgb(171, 167, 78)
HSLhsl(57, 37%, 49%)
HSVhsv(57, 54%, 67%)
CMYKcmyk(0%, 2.3%, 54.4%, 32.9%)
CIE-LABlab(67.16, -10.66, 45.83)
CIE-LCHlch(67.16, 47.06, 103.09°)
OKLaboklab(71.32% -0.0319 0.1071)
OKLCHoklch(71.32% 0.112 106.6)
XYZxyz(31.9893, 36.8463, 12.6332)
Luminance0.3684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA74E #4E52AB
analogous
#AB794E #ABA74E #81AB4E
triadic
#ABA74E #4EABA7 #A74EAB
tetradic
#ABA74E #4EAB79 #4E52AB #AB4E81
square
#ABA74E #4EAB79 #4E52AB #AB4E81
split-complementary
#ABA74E #4E81AB #794EAB
monochromatic
#575528 #817E3B #ABA74E #C0BD76 #D4D1A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABA74E#FFFFFF#000000##000000
##ABA74E1.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)
#B3A145
Deuteranopia (green-blind)
#B5A553
Tritanopia (blue-blind)
#B69D93
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aba74e;
/* rgb */ color: rgb(171, 167, 78);
/* oklch */ color: oklch(71.3% 0.112 106.6);
Tailwind
colors: {
  custom: {
    50: '#c6c082',
    500: '#aba74e',
    950: '#000000',
  },
}
SCSS
$custom: #aba74e;
$custom-light: #c6c082;
$custom-dark: #000000;
JSON
{
  "hex": "#aba74e",
  "rgb": {
    "r": 171,
    "g": 167,
    "b": 78
  },
  "hsl": {
    "h": 57.419,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.71322,
    "c": 0.11176,
    "h": 106.6
  },
  "luminance": 0.36845
}

Semantic roles & 50–950 ramp

primary
#ABA74E
secondary
#9496C1
accent
#5FCD5A
background
#FCFBF8
surface
#F8F7EF
border
#D1D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #ABA74E

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

Preview Lab → · Contrast checker → · Palette generator →

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