#ABA74B#ABA74B

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

Color values

HEX#ABA74B
RGBrgb(171, 167, 75)
HSLhsl(58, 39%, 48%)
HSVhsv(58, 56%, 67%)
CMYKcmyk(0%, 2.3%, 56.1%, 32.9%)
CIE-LABlab(67.13, -10.90, 47.23)
CIE-LCHlch(67.13, 48.47, 103.00°)
OKLaboklab(71.29% -0.0329 0.1098)
OKLCHoklch(71.29% 0.115 106.7)
XYZxyz(31.8842, 36.8043, 12.0796)
Luminance0.3680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA74B #4B4FAB
analogous
#AB774B #ABA74B #7FAB4B
triadic
#ABA74B #4BABA7 #A74BAB
tetradic
#ABA74B #4BAB77 #4B4FAB #AB4B7F
square
#ABA74B #4BAB77 #4B4FAB #AB4B7F
split-complementary
#ABA74B #4B7FAB #774BAB
monochromatic
#565426 #807D38 #ABA74B #C1BE72 #D4D29D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABA74B#FFFFFF#000000##000000
##ABA74B1.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)
#B4A142
Deuteranopia (green-blind)
#B6A550
Tritanopia (blue-blind)
#B69D93
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aba74b;
/* rgb */ color: rgb(171, 167, 75);
/* oklch */ color: oklch(71.3% 0.115 106.7);
Tailwind
colors: {
  custom: {
    50: '#c6c080',
    500: '#aba74b',
    950: '#000000',
  },
}
SCSS
$custom: #aba74b;
$custom-light: #c6c080;
$custom-dark: #000000;
JSON
{
  "hex": "#aba74b",
  "rgb": {
    "r": 171,
    "g": 167,
    "b": 75
  },
  "hsl": {
    "h": 57.5,
    "s": 39.024,
    "l": 48.235
  },
  "oklch": {
    "l": 0.71286,
    "c": 0.1146,
    "h": 106.7
  },
  "luminance": 0.36803
}

Semantic roles & 50–950 ramp

primary
#ABA74B
secondary
#9193C0
accent
#5ECF59
background
#FCFBF8
surface
#F8F7EF
border
#D1D0CA
text
#13120A
muted
#82817C

Preview Lab

Preview with #ABA74B

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

Preview Lab → · Contrast checker → · Palette generator →

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