#ABA02E#ABA02E

#ABA02E is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.5% C 0.130 H 103.7°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#ABA02E
RGBrgb(171, 160, 46)
HSLhsl(55, 58%, 43%)
HSVhsv(55, 73%, 67%)
CMYKcmyk(0%, 6.4%, 73.1%, 32.9%)
CIE-LABlab(64.96, -9.07, 57.34)
CIE-LCHlch(64.96, 58.05, 98.99°)
OKLaboklab(69.48% -0.0309 0.1267)
OKLCHoklch(69.48% 0.13 103.7)
XYZxyz(29.8598, 33.9980, 7.5737)
Luminance0.3400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA02E #2E39AB
analogous
#AB612E #ABA02E #78AB2E
triadic
#ABA02E #2EABA0 #A02EAB
tetradic
#ABA02E #2EAB61 #2E39AB #AB2E78
square
#ABA02E #2EAB61 #2E39AB #AB2E78
split-complementary
#ABA02E #2E78AB #612EAB
monochromatic
#4B4614 #7B7321 #ABA02E #CEC248 #DBD279

Accessibility & contrast

On white

2.69
#ABA02E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#ABA02E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA02E
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA02E#FFFFFF#000000##000000
##ABA02E1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1A
Deuteranopia (green-blind)
#B2A036
Tritanopia (blue-blind)
#B8958A
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #aba02e;
/* rgb */ color: rgb(171, 160, 46);
/* oklch */ color: oklch(69.5% 0.130 103.7);
Tailwind
colors: {
  custom: {
    50: '#c8bb6f',
    500: '#aba02e',
    950: '#000000',
  },
}
SCSS
$custom: #aba02e;
$custom-light: #c8bb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#aba02e",
  "rgb": {
    "r": 171,
    "g": 160,
    "b": 46
  },
  "hsl": {
    "h": 54.72,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.69484,
    "c": 0.13045,
    "h": 103.7
  },
  "luminance": 0.33997
}

Semantic roles & 50–950 ramp

primary
#ABA02E
secondary
#7279C3
accent
#54E147
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #ABA02E

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

Preview Lab → · Contrast checker → · Palette generator →

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