#ABA62F#ABA62F

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

Color values

HEX#ABA62F
RGBrgb(171, 166, 47)
HSLhsl(58, 57%, 43%)
HSVhsv(58, 73%, 67%)
CMYKcmyk(0%, 2.9%, 72.5%, 32.9%)
CIE-LABlab(66.62, -12.17, 58.57)
CIE-LCHlch(66.62, 59.82, 101.74°)
OKLaboklab(70.81% -0.0395 0.1295)
OKLCHoklch(70.81% 0.135 107)
XYZxyz(30.9451, 36.1367, 8.0338)
Luminance0.3614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA62F #2F34AB
analogous
#AB682F #ABA62F #72AB2F
triadic
#ABA62F #2FABA6 #A62FAB
tetradic
#ABA62F #2FAB68 #2F34AB #AB2F72
square
#ABA62F #2FAB68 #2F34AB #AB2F72
split-complementary
#ABA62F #2F72AB #682FAB
monochromatic
#4B4915 #7B7722 #ABA62F #CDC84A #DAD77A

Accessibility & contrast

On white

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

On black

8.23
#ABA62F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA62F
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA62F#FFFFFF#000000##000000
##ABA62F1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aba62f;
/* rgb */ color: rgb(171, 166, 47);
/* oklch */ color: oklch(70.8% 0.135 107.0);
Tailwind
colors: {
  custom: {
    50: '#c7c070',
    500: '#aba62f',
    950: '#000000',
  },
}
SCSS
$custom: #aba62f;
$custom-light: #c7c070;
$custom-dark: #000000;
JSON
{
  "hex": "#aba62f",
  "rgb": {
    "r": 171,
    "g": 166,
    "b": 47
  },
  "hsl": {
    "h": 57.581,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.7081,
    "c": 0.13544,
    "h": 107
  },
  "luminance": 0.36136
}

Semantic roles & 50–950 ramp

primary
#ABA62F
secondary
#7376C3
accent
#4EE048
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #ABA62F

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

Preview Lab → · Contrast checker → · Palette generator →

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