#ABA03A#ABA03A

#ABA03A is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.6% C 0.122 H 103.1°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#ABA03A
RGBrgb(171, 160, 58)
HSLhsl(54, 49%, 45%)
HSVhsv(54, 66%, 67%)
CMYKcmyk(0%, 6.4%, 66.1%, 32.9%)
CIE-LABlab(65.05, -8.41, 52.62)
CIE-LCHlch(65.05, 53.29, 99.09°)
OKLaboklab(69.58% -0.0278 0.1189)
OKLCHoklch(69.58% 0.122 103.1)
XYZxyz(30.1303, 34.1062, 8.9982)
Luminance0.3411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA03A #3A45AB
analogous
#AB673A #ABA03A #7EAB3A
triadic
#ABA03A #3AABA0 #A03AAB
tetradic
#ABA03A #3AAB67 #3A45AB #AB3A7E
square
#ABA03A #3AAB67 #3A45AB #AB3A7E
split-complementary
#ABA03A #3A7EAB #673AAB
monochromatic
#504A1B #7D752A #ABA03A #C7BD5B #D7CF89

Accessibility & contrast

On white

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

On black

7.82
#ABA03A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA03A
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA03A#FFFFFF#000000##000000
##ABA03A1.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B2D
Deuteranopia (green-blind)
#B2A040
Tritanopia (blue-blind)
#B8958B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #aba03a;
/* rgb */ color: rgb(171, 160, 58);
/* oklch */ color: oklch(69.6% 0.122 103.1);
Tailwind
colors: {
  custom: {
    50: '#c7bb75',
    500: '#aba03a',
    950: '#000000',
  },
}
SCSS
$custom: #aba03a;
$custom-light: #c7bb75;
$custom-dark: #000000;
JSON
{
  "hex": "#aba03a",
  "rgb": {
    "r": 171,
    "g": 160,
    "b": 58
  },
  "hsl": {
    "h": 54.159,
    "s": 49.345,
    "l": 44.902
  },
  "oklch": {
    "l": 0.69579,
    "c": 0.12208,
    "h": 103.1
  },
  "luminance": 0.34105
}

Semantic roles & 50–950 ramp

primary
#ABA03A
secondary
#8086C1
accent
#5CD94F
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131109
muted
#82807B

Preview Lab

Preview with #ABA03A

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

Preview Lab → · Contrast checker → · Palette generator →

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