#ABA270#ABA270

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

Color values

HEX#ABA270
RGBrgb(171, 162, 112)
HSLhsl(51, 26%, 55%)
HSVhsv(51, 35%, 67%)
CMYKcmyk(0%, 5.3%, 34.5%, 32.9%)
CIE-LABlab(66.27, -4.46, 27.23)
CIE-LCHlch(66.27, 27.59, 99.30°)
OKLaboklab(70.77% -0.011 0.0676)
OKLCHoklch(70.77% 0.069 99.2)
XYZxyz(32.6400, 35.6693, 20.4916)
Luminance0.3567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA270 #7079AB
analogous
#AB8470 #ABA270 #96AB70
triadic
#ABA270 #70ABA2 #A270AB
tetradic
#ABA270 #70AB84 #7079AB #AB7096
square
#ABA270 #70AB84 #7079AB #AB7096
split-complementary
#ABA270 #7096AB #8470AB
monochromatic
#655F3B #8C8352 #ABA270 #C2BB97 #D8D4BD

Accessibility & contrast

On white

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

On black

8.13
#ABA270 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA270
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA270#FFFFFF#000000##000000
##ABA2701.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9F6D
Deuteranopia (green-blind)
#AEA372
Tritanopia (blue-blind)
#B49B95
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #aba270;
/* rgb */ color: rgb(171, 162, 112);
/* oklch */ color: oklch(70.8% 0.069 99.2);
Tailwind
colors: {
  custom: {
    50: '#c5bd99',
    500: '#aba270',
    950: '#000000',
  },
}
SCSS
$custom: #aba270;
$custom-light: #c5bd99;
$custom-dark: #000000;
JSON
{
  "hex": "#aba270",
  "rgb": {
    "r": 171,
    "g": 162,
    "b": 112
  },
  "hsl": {
    "h": 50.847,
    "s": 25.991,
    "l": 55.49
  },
  "oklch": {
    "l": 0.70765,
    "c": 0.0685,
    "h": 99.2
  },
  "luminance": 0.35668
}

Semantic roles & 50–950 ramp

primary
#ABA270
secondary
#AFB3C8
accent
#74C265
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #ABA270

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

Preview Lab → · Contrast checker → · Palette generator →

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