#ABA272#ABA272

#ABA272 is a light, moderate yellow. Relative luminance 0.357; OKLCH L 70.8% C 0.066 H 98.8°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#ABA272
RGBrgb(171, 162, 114)
HSLhsl(51, 25%, 56%)
HSVhsv(51, 33%, 67%)
CMYKcmyk(0%, 5.3%, 33.3%, 32.9%)
CIE-LABlab(66.30, -4.20, 26.19)
CIE-LCHlch(66.30, 26.53, 99.12°)
OKLaboklab(70.8% -0.0101 0.0653)
OKLCHoklch(70.8% 0.066 98.8)
XYZxyz(32.7526, 35.7143, 21.0846)
Luminance0.3571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA272 #727BAB
analogous
#AB8572 #ABA272 #97AB72
triadic
#ABA272 #72ABA2 #A272AB
tetradic
#ABA272 #72AB85 #727BAB #AB7297
square
#ABA272 #72AB85 #727BAB #AB7297
split-complementary
#ABA272 #7297AB #8572AB
monochromatic
#665F3D #8C8354 #ABA272 #C2BB98 #D9D5BF

Accessibility & contrast

On white

2.58
#ABA272 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#ABA272 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA272
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA272#FFFFFF#000000##000000
##ABA2721.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9F6F
Deuteranopia (green-blind)
#AEA374
Tritanopia (blue-blind)
#B39B96
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #aba272;
/* rgb */ color: rgb(171, 162, 114);
/* oklch */ color: oklch(70.8% 0.066 98.8);
Tailwind
colors: {
  custom: {
    50: '#c5bd9b',
    500: '#aba272',
    950: '#000000',
  },
}
SCSS
$custom: #aba272;
$custom-light: #c5bd9b;
$custom-dark: #000000;
JSON
{
  "hex": "#aba272",
  "rgb": {
    "r": 171,
    "g": 162,
    "b": 114
  },
  "hsl": {
    "h": 50.526,
    "s": 25.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.70804,
    "c": 0.06603,
    "h": 98.8
  },
  "luminance": 0.35713
}

Semantic roles & 50–950 ramp

primary
#ABA272
secondary
#B1B4C8
accent
#75C266
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #ABA272

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

Preview Lab → · Contrast checker → · Palette generator →

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