#ABA841#ABA841

#ABA841 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.4% C 0.124 H 107.6°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#ABA841
RGBrgb(171, 168, 65)
HSLhsl(58, 45%, 46%)
HSVhsv(58, 62%, 67%)
CMYKcmyk(0%, 1.8%, 62%, 32.9%)
CIE-LABlab(67.31, -12.16, 51.99)
CIE-LCHlch(67.31, 53.39, 103.17°)
OKLaboklab(71.4% -0.0376 0.1186)
OKLCHoklch(71.4% 0.124 107.6)
XYZxyz(31.7524, 37.0458, 10.4780)
Luminance0.3705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA841 #4144AB
analogous
#AB7341 #ABA841 #79AB41
triadic
#ABA841 #41ABA8 #A841AB
tetradic
#ABA841 #41AB73 #4144AB #AB4179
square
#ABA841 #41AB73 #4144AB #AB4179
split-complementary
#ABA841 #4179AB #7341AB
monochromatic
#52511F #7F7C30 #ABA841 #C4C265 #D5D391

Accessibility & contrast

On white

2.50
#ABA841 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#ABA841 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA841
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA841#FFFFFF#000000##000000
##ABA8411.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A235
Deuteranopia (green-blind)
#B7A647
Tritanopia (blue-blind)
#B79E92
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #aba841;
/* rgb */ color: rgb(171, 168, 65);
/* oklch */ color: oklch(71.4% 0.124 107.6);
Tailwind
colors: {
  custom: {
    50: '#c7c17a',
    500: '#aba841',
    950: '#000000',
  },
}
SCSS
$custom: #aba841;
$custom-light: #c7c17a;
$custom-dark: #000000;
JSON
{
  "hex": "#aba841",
  "rgb": {
    "r": 171,
    "g": 168,
    "b": 65
  },
  "hsl": {
    "h": 58.302,
    "s": 44.915,
    "l": 46.275
  },
  "oklch": {
    "l": 0.714,
    "c": 0.12444,
    "h": 107.6
  },
  "luminance": 0.37045
}

Semantic roles & 50–950 ramp

primary
#ABA841
secondary
#8789C1
accent
#57D553
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #ABA841

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

Preview Lab → · Contrast checker → · Palette generator →

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