#ABA751#ABA751

#ABA751 is a light, moderate yellow. Relative luminance 0.369; OKLCH L 71.4% C 0.109 H 106.4°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#ABA751
RGBrgb(171, 167, 81)
HSLhsl(57, 36%, 49%)
HSVhsv(57, 53%, 67%)
CMYKcmyk(0%, 2.3%, 52.6%, 32.9%)
CIE-LABlab(67.19, -10.40, 44.42)
CIE-LCHlch(67.19, 45.62, 103.18°)
OKLaboklab(71.36% -0.0308 0.1044)
OKLCHoklch(71.36% 0.109 106.4)
XYZxyz(32.0994, 36.8904, 13.2126)
Luminance0.3689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA751 #5155AB
analogous
#AB7A51 #ABA751 #82AB51
triadic
#ABA751 #51ABA7 #A751AB
tetradic
#ABA751 #51AB7A #5155AB #AB5182
square
#ABA751 #51AB7A #5155AB #AB5182
split-complementary
#ABA751 #5182AB #7A51AB
monochromatic
#58562A #817E3D #ABA751 #C0BD79 #D3D1A3

Accessibility & contrast

On white

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

On black

8.38
#ABA751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA751
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA751#FFFFFF#000000##000000
##ABA7511.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A149
Deuteranopia (green-blind)
#B5A555
Tritanopia (blue-blind)
#B69E94
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #aba751;
/* rgb */ color: rgb(171, 167, 81);
/* oklch */ color: oklch(71.4% 0.109 106.4);
Tailwind
colors: {
  custom: {
    50: '#c6c184',
    500: '#aba751',
    950: '#000000',
  },
}
SCSS
$custom: #aba751;
$custom-light: #c6c184;
$custom-dark: #000000;
JSON
{
  "hex": "#aba751",
  "rgb": {
    "r": 171,
    "g": 167,
    "b": 81
  },
  "hsl": {
    "h": 57.333,
    "s": 35.714,
    "l": 49.412
  },
  "oklch": {
    "l": 0.71359,
    "c": 0.10884,
    "h": 106.4
  },
  "luminance": 0.36889
}

Semantic roles & 50–950 ramp

primary
#ABA751
secondary
#9799C1
accent
#61CC5C
background
#FCFBF8
surface
#F8F7EF
border
#D1D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #ABA751

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

Preview Lab → · Contrast checker → · Palette generator →

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