#ABA42C#ABA42C

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

Color values

HEX#ABA42C
RGBrgb(171, 164, 44)
HSLhsl(57, 59%, 42%)
HSVhsv(57, 74%, 67%)
CMYKcmyk(0%, 4.1%, 74.3%, 32.9%)
CIE-LABlab(66.05, -11.26, 59.10)
CIE-LCHlch(66.05, 60.17, 100.79°)
OKLaboklab(70.35% -0.0373 0.1301)
OKLCHoklch(70.35% 0.135 106)
XYZxyz(30.5259, 35.3918, 7.6057)
Luminance0.3539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA42C #2C33AB
analogous
#AB652C #ABA42C #73AB2C
triadic
#ABA42C #2CABA4 #A42CAB
tetradic
#ABA42C #2CAB65 #2C33AB #AB2C73
square
#ABA42C #2CAB65 #2C33AB #AB2C73
split-complementary
#ABA42C #2C73AB #652CAB
monochromatic
#4A4713 #7A751F #ABA42C #CFC845 #DCD676

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABA42C#FFFFFF#000000##000000
##ABA42C1.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)
#B29E14
Deuteranopia (green-blind)
#B5A335
Tritanopia (blue-blind)
#B8998D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aba42c;
/* rgb */ color: rgb(171, 164, 44);
/* oklch */ color: oklch(70.3% 0.135 106.0);
Tailwind
colors: {
  custom: {
    50: '#c8be6e',
    500: '#aba42c',
    950: '#000000',
  },
}
SCSS
$custom: #aba42c;
$custom-light: #c8be6e;
$custom-dark: #000000;
JSON
{
  "hex": "#aba42c",
  "rgb": {
    "r": 171,
    "g": 164,
    "b": 44
  },
  "hsl": {
    "h": 56.693,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.70349,
    "c": 0.13535,
    "h": 106
  },
  "luminance": 0.35391
}

Semantic roles & 50–950 ramp

primary
#ABA42C
secondary
#6F74C3
accent
#4EE246
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141208
muted
#82817B

Preview Lab

Preview with #ABA42C

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

Preview Lab → · Contrast checker → · Palette generator →

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