#ABA62B#ABA62B

#ABA62B is a light, vivid yellow. Relative luminance 0.361; OKLCH L 70.8% C 0.138 H 107.1°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#ABA62B
RGBrgb(171, 166, 43)
HSLhsl(58, 60%, 42%)
HSVhsv(58, 75%, 67%)
CMYKcmyk(0%, 2.9%, 74.9%, 32.9%)
CIE-LABlab(66.60, -12.35, 59.97)
CIE-LCHlch(66.60, 61.23, 101.64°)
OKLaboklab(70.78% -0.0404 0.1318)
OKLCHoklch(70.78% 0.138 107.1)
XYZxyz(30.8681, 36.1059, 7.6282)
Luminance0.3610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA62B #2B30AB
analogous
#AB662B #ABA62B #70AB2B
triadic
#ABA62B #2BABA6 #A62BAB
tetradic
#ABA62B #2BAB66 #2B30AB #AB2B70
square
#ABA62B #2BAB66 #2B30AB #AB2B70
split-complementary
#ABA62B #2B70AB #662BAB
monochromatic
#494712 #7A771F #ABA62B #D0CA43 #DCD874

Accessibility & contrast

On white

2.55
#ABA62B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#ABA62B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA62B
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA62B#FFFFFF#000000##000000
##ABA62B1.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F11
Deuteranopia (green-blind)
#B7A434
Tritanopia (blue-blind)
#B89B8F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #aba62b;
/* rgb */ color: rgb(171, 166, 43);
/* oklch */ color: oklch(70.8% 0.138 107.1);
Tailwind
colors: {
  custom: {
    50: '#c8c06e',
    500: '#aba62b',
    950: '#000000',
  },
}
SCSS
$custom: #aba62b;
$custom-light: #c8c06e;
$custom-dark: #000000;
JSON
{
  "hex": "#aba62b",
  "rgb": {
    "r": 171,
    "g": 166,
    "b": 43
  },
  "hsl": {
    "h": 57.656,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.70784,
    "c": 0.13781,
    "h": 107.1
  },
  "luminance": 0.36105
}

Semantic roles & 50–950 ramp

primary
#ABA62B
secondary
#6E71C4
accent
#4BE345
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#141208
muted
#82817B

Preview Lab

Preview with #ABA62B

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

Preview Lab → · Contrast checker → · Palette generator →

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