#ABA42F#ABA42F

#ABA42F is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.4% C 0.134 H 105.9°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#ABA42F
RGBrgb(171, 164, 47)
HSLhsl(57, 57%, 43%)
HSVhsv(57, 73%, 67%)
CMYKcmyk(0%, 4.1%, 72.5%, 32.9%)
CIE-LABlab(66.07, -11.12, 58.04)
CIE-LCHlch(66.07, 59.09, 100.85°)
OKLaboklab(70.37% -0.0366 0.1284)
OKLCHoklch(70.37% 0.134 105.9)
XYZxyz(30.5844, 35.4152, 7.9135)
Luminance0.3541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA42F #2F36AB
analogous
#AB662F #ABA42F #74AB2F
triadic
#ABA42F #2FABA4 #A42FAB
tetradic
#ABA42F #2FAB66 #2F36AB #AB2F74
square
#ABA42F #2FAB66 #2F36AB #AB2F74
split-complementary
#ABA42F #2F74AB #662FAB
monochromatic
#4B4815 #7B7622 #ABA42F #CDC64A #DAD57A

Accessibility & contrast

On white

2.60
#ABA42F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#ABA42F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA42F
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA42F#FFFFFF#000000##000000
##ABA42F1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E1A
Deuteranopia (green-blind)
#B5A337
Tritanopia (blue-blind)
#B8998D
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #aba42f;
/* rgb */ color: rgb(171, 164, 47);
/* oklch */ color: oklch(70.4% 0.134 105.9);
Tailwind
colors: {
  custom: {
    50: '#c7be70',
    500: '#aba42f',
    950: '#000000',
  },
}
SCSS
$custom: #aba42f;
$custom-light: #c7be70;
$custom-dark: #000000;
JSON
{
  "hex": "#aba42f",
  "rgb": {
    "r": 171,
    "g": 164,
    "b": 47
  },
  "hsl": {
    "h": 56.613,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.70369,
    "c": 0.13352,
    "h": 105.9
  },
  "luminance": 0.35414
}

Semantic roles & 50–950 ramp

primary
#ABA42F
secondary
#7378C3
accent
#50E048
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #ABA42F

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

Preview Lab → · Contrast checker → · Palette generator →

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