#ABA62E#ABA62E

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

Color values

HEX#ABA62E
RGBrgb(171, 166, 46)
HSLhsl(58, 58%, 43%)
HSVhsv(58, 73%, 67%)
CMYKcmyk(0%, 2.9%, 73.1%, 32.9%)
CIE-LABlab(66.62, -12.22, 58.93)
CIE-LCHlch(66.62, 60.18, 101.71°)
OKLaboklab(70.8% -0.0398 0.1301)
OKLCHoklch(70.8% 0.136 107)
XYZxyz(30.9252, 36.1287, 7.9288)
Luminance0.3613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA62E #2E33AB
analogous
#AB672E #ABA62E #71AB2E
triadic
#ABA62E #2EABA6 #A62EAB
tetradic
#ABA62E #2EAB67 #2E33AB #AB2E71
square
#ABA62E #2EAB67 #2E33AB #AB2E71
split-complementary
#ABA62E #2E71AB #672EAB
monochromatic
#4B4814 #7B7721 #ABA62E #CEC948 #DBD779

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABA62E#FFFFFF#000000##000000
##ABA62E1.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)
#B4A017
Deuteranopia (green-blind)
#B7A437
Tritanopia (blue-blind)
#B89B8F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #aba62e;
/* rgb */ color: rgb(171, 166, 46);
/* oklch */ color: oklch(70.8% 0.136 107.0);
Tailwind
colors: {
  custom: {
    50: '#c7c070',
    500: '#aba62e',
    950: '#000000',
  },
}
SCSS
$custom: #aba62e;
$custom-light: #c7c070;
$custom-dark: #000000;
JSON
{
  "hex": "#aba62e",
  "rgb": {
    "r": 171,
    "g": 166,
    "b": 46
  },
  "hsl": {
    "h": 57.6,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.70803,
    "c": 0.13605,
    "h": 107
  },
  "luminance": 0.36128
}

Semantic roles & 50–950 ramp

primary
#ABA62E
secondary
#7275C3
accent
#4DE147
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #ABA62E

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

Preview Lab → · Contrast checker → · Palette generator →

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