#ABA03F#ABA03F

#ABA03F is a light, moderate yellow. Relative luminance 0.342; OKLCH L 69.6% C 0.118 H 102.9°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#ABA03F
RGBrgb(171, 160, 63)
HSLhsl(54, 46%, 46%)
HSVhsv(54, 63%, 67%)
CMYKcmyk(0%, 6.4%, 63.2%, 32.9%)
CIE-LABlab(65.09, -8.09, 50.48)
CIE-LCHlch(65.09, 51.13, 99.11°)
OKLaboklab(69.63% -0.0263 0.1151)
OKLCHoklch(69.63% 0.118 102.9)
XYZxyz(30.2637, 34.1596, 9.7010)
Luminance0.3416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA03F #3F4AAB
analogous
#AB6A3F #ABA03F #80AB3F
triadic
#ABA03F #3FABA0 #A03FAB
tetradic
#ABA03F #3FAB6A #3F4AAB #AB3F80
square
#ABA03F #3FAB6A #3F4AAB #AB3F80
split-complementary
#ABA03F #3F80AB #6A3FAB
monochromatic
#524C1E #7E762F #ABA03F #C5BB62 #D6CE8F

Accessibility & contrast

On white

2.68
#ABA03F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#ABA03F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA03F
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA03F#FFFFFF#000000##000000
##ABA03F1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B34
Deuteranopia (green-blind)
#B1A044
Tritanopia (blue-blind)
#B7958B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #aba03f;
/* rgb */ color: rgb(171, 160, 63);
/* oklch */ color: oklch(69.6% 0.118 102.9);
Tailwind
colors: {
  custom: {
    50: '#c7bb78',
    500: '#aba03f',
    950: '#000000',
  },
}
SCSS
$custom: #aba03f;
$custom-light: #c7bb78;
$custom-dark: #000000;
JSON
{
  "hex": "#aba03f",
  "rgb": {
    "r": 171,
    "g": 160,
    "b": 63
  },
  "hsl": {
    "h": 53.889,
    "s": 46.154,
    "l": 45.882
  },
  "oklch": {
    "l": 0.69626,
    "c": 0.11809,
    "h": 102.9
  },
  "luminance": 0.34158
}

Semantic roles & 50–950 ramp

primary
#ABA03F
secondary
#858BC1
accent
#5FD652
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131109
muted
#82807B

Preview Lab

Preview with #ABA03F

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

Preview Lab → · Contrast checker → · Palette generator →

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