#ABA02F#ABA02F

#ABA02F 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#ABA02F
RGBrgb(171, 160, 47)
HSLhsl(55, 57%, 43%)
HSVhsv(55, 73%, 67%)
CMYKcmyk(0%, 6.4%, 72.5%, 32.9%)
CIE-LABlab(64.97, -9.02, 56.97)
CIE-LCHlch(64.97, 57.68, 99.00°)
OKLaboklab(69.49% -0.0307 0.1262)
OKLCHoklch(69.49% 0.13 103.7)
XYZxyz(29.8798, 34.0060, 7.6787)
Luminance0.3401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA02F #2F3AAB
analogous
#AB622F #ABA02F #78AB2F
triadic
#ABA02F #2FABA0 #A02FAB
tetradic
#ABA02F #2FAB62 #2F3AAB #AB2F78
square
#ABA02F #2FAB62 #2F3AAB #AB2F78
split-complementary
#ABA02F #2F78AB #622FAB
monochromatic
#4B4615 #7B7322 #ABA02F #CDC24A #DAD27A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABA02F#FFFFFF#000000##000000
##ABA02F1.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)
#AF9B1C
Deuteranopia (green-blind)
#B2A037
Tritanopia (blue-blind)
#B8958A
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #aba02f;
/* rgb */ color: rgb(171, 160, 47);
/* oklch */ color: oklch(69.5% 0.130 103.7);
Tailwind
colors: {
  custom: {
    50: '#c7bb6f',
    500: '#aba02f',
    950: '#000000',
  },
}
SCSS
$custom: #aba02f;
$custom-light: #c7bb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#aba02f",
  "rgb": {
    "r": 171,
    "g": 160,
    "b": 47
  },
  "hsl": {
    "h": 54.677,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.69491,
    "c": 0.12982,
    "h": 103.7
  },
  "luminance": 0.34005
}

Semantic roles & 50–950 ramp

primary
#ABA02F
secondary
#737AC3
accent
#55E048
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #ABA02F

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

Preview Lab → · Contrast checker → · Palette generator →

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