#ABA03E#ABA03E

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

Color values

HEX#ABA03E
RGBrgb(171, 160, 62)
HSLhsl(54, 47%, 46%)
HSVhsv(54, 64%, 67%)
CMYKcmyk(0%, 6.4%, 63.7%, 32.9%)
CIE-LABlab(65.08, -8.16, 50.92)
CIE-LCHlch(65.08, 51.57, 99.11°)
OKLaboklab(69.62% -0.0266 0.1159)
OKLCHoklch(69.62% 0.119 102.9)
XYZxyz(30.2360, 34.1485, 9.5551)
Luminance0.3415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA03E #3E49AB
analogous
#AB693E #ABA03E #7FAB3E
triadic
#ABA03E #3EABA0 #A03EAB
tetradic
#ABA03E #3EAB69 #3E49AB #AB3E7F
square
#ABA03E #3EAB69 #3E49AB #AB3E7F
split-complementary
#ABA03E #3E7FAB #693EAB
monochromatic
#514C1D #7E762E #ABA03E #C6BB61 #D6CF8E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABA03E#FFFFFF#000000##000000
##ABA03E1.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)
#AE9B32
Deuteranopia (green-blind)
#B1A043
Tritanopia (blue-blind)
#B7958B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #aba03e;
/* rgb */ color: rgb(171, 160, 62);
/* oklch */ color: oklch(69.6% 0.119 102.9);
Tailwind
colors: {
  custom: {
    50: '#c7bb78',
    500: '#aba03e',
    950: '#000000',
  },
}
SCSS
$custom: #aba03e;
$custom-light: #c7bb78;
$custom-dark: #000000;
JSON
{
  "hex": "#aba03e",
  "rgb": {
    "r": 171,
    "g": 160,
    "b": 62
  },
  "hsl": {
    "h": 53.945,
    "s": 46.781,
    "l": 45.686
  },
  "oklch": {
    "l": 0.69617,
    "c": 0.11891,
    "h": 102.9
  },
  "luminance": 0.34147
}

Semantic roles & 50–950 ramp

primary
#ABA03E
secondary
#848AC1
accent
#5FD651
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131109
muted
#82807B

Preview Lab

Preview with #ABA03E

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

Preview Lab → · Contrast checker → · Palette generator →

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