#ABA241#ABA241

#ABA241 is a light, moderate yellow. Relative luminance 0.349; OKLCH L 70.1% C 0.118 H 104.0°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#ABA241
RGBrgb(171, 162, 65)
HSLhsl(55, 45%, 46%)
HSVhsv(55, 62%, 67%)
CMYKcmyk(0%, 5.3%, 62%, 32.9%)
CIE-LABlab(65.66, -9.02, 50.20)
CIE-LCHlch(65.66, 51.00, 100.18°)
OKLaboklab(70.08% -0.0287 0.1148)
OKLCHoklch(70.08% 0.118 104)
XYZxyz(30.6702, 34.8814, 10.1172)
Luminance0.3488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA241 #414AAB
analogous
#AB6D41 #ABA241 #7FAB41
triadic
#ABA241 #41ABA2 #A241AB
tetradic
#ABA241 #41AB6D #414AAB #AB417F
square
#ABA241 #41AB6D #414AAB #AB417F
split-complementary
#ABA241 #417FAB #6D41AB
monochromatic
#524E1F #7F7830 #ABA241 #C4BC65 #D5CF91

Accessibility & contrast

On white

2.63
#ABA241 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#ABA241 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA241
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA241#FFFFFF#000000##000000
##ABA2411.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D36
Deuteranopia (green-blind)
#B3A246
Tritanopia (blue-blind)
#B7988D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aba241;
/* rgb */ color: rgb(171, 162, 65);
/* oklch */ color: oklch(70.1% 0.118 104.0);
Tailwind
colors: {
  custom: {
    50: '#c7bd7a',
    500: '#aba241',
    950: '#000000',
  },
}
SCSS
$custom: #aba241;
$custom-light: #c7bd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#aba241",
  "rgb": {
    "r": 171,
    "g": 162,
    "b": 65
  },
  "hsl": {
    "h": 54.906,
    "s": 44.915,
    "l": 46.275
  },
  "oklch": {
    "l": 0.70083,
    "c": 0.11834,
    "h": 104
  },
  "luminance": 0.3488
}

Semantic roles & 50–950 ramp

primary
#ABA241
secondary
#878CC1
accent
#5ED553
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #ABA241

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

Preview Lab → · Contrast checker → · Palette generator →

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