#ABA74C#ABA74C

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

Color values

HEX#ABA74C
RGBrgb(171, 167, 76)
HSLhsl(57, 38%, 48%)
HSVhsv(57, 56%, 67%)
CMYKcmyk(0%, 2.3%, 55.6%, 32.9%)
CIE-LABlab(67.14, -10.82, 46.77)
CIE-LCHlch(67.14, 48.00, 103.03°)
OKLaboklab(71.3% -0.0325 0.1089)
OKLCHoklch(71.3% 0.114 106.6)
XYZxyz(31.9187, 36.8181, 12.2613)
Luminance0.3682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA74C #4C50AB
analogous
#AB774C #ABA74C #7FAB4C
triadic
#ABA74C #4CABA7 #A74CAB
tetradic
#ABA74C #4CAB77 #4C50AB #AB4C7F
square
#ABA74C #4CAB77 #4C50AB #AB4C7F
split-complementary
#ABA74C #4C7FAB #774CAB
monochromatic
#565426 #817E39 #ABA74C #C1BE73 #D4D19E

Accessibility & contrast

On white

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

On black

8.36
#ABA74C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA74C
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA74C#FFFFFF#000000##000000
##ABA74C1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aba74c;
/* rgb */ color: rgb(171, 167, 76);
/* oklch */ color: oklch(71.3% 0.114 106.6);
Tailwind
colors: {
  custom: {
    50: '#c6c081',
    500: '#aba74c',
    950: '#000000',
  },
}
SCSS
$custom: #aba74c;
$custom-light: #c6c081;
$custom-dark: #000000;
JSON
{
  "hex": "#aba74c",
  "rgb": {
    "r": 171,
    "g": 167,
    "b": 76
  },
  "hsl": {
    "h": 57.474,
    "s": 38.462,
    "l": 48.431
  },
  "oklch": {
    "l": 0.71298,
    "c": 0.11366,
    "h": 106.6
  },
  "luminance": 0.36817
}

Semantic roles & 50–950 ramp

primary
#ABA74C
secondary
#9294C0
accent
#5ECE59
background
#FCFBF8
surface
#F8F7EF
border
#D1D0CA
text
#13120A
muted
#82817C

Preview Lab

Preview with #ABA74C

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

Preview Lab → · Contrast checker → · Palette generator →

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