#ABA53E#ABA53E

#ABA53E is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.7% C 0.124 H 106.0°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#ABA53E
RGBrgb(171, 165, 62)
HSLhsl(57, 47%, 46%)
HSVhsv(57, 64%, 67%)
CMYKcmyk(0%, 3.5%, 63.7%, 32.9%)
CIE-LABlab(66.46, -10.80, 52.38)
CIE-LCHlch(66.46, 53.49, 101.65°)
OKLaboklab(70.71% -0.0341 0.119)
OKLCHoklch(70.71% 0.124 106)
XYZxyz(31.1203, 35.9170, 9.8499)
Luminance0.3592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA53E #3E44AB
analogous
#AB6E3E #ABA53E #7AAB3E
triadic
#ABA53E #3EABA5 #A53EAB
tetradic
#ABA53E #3EAB6E #3E44AB #AB3E7A
square
#ABA53E #3EAB6E #3E44AB #AB3E7A
split-complementary
#ABA53E #3E7AAB #6E3EAB
monochromatic
#514E1D #7E7A2E #ABA53E #C6C061 #D6D28E

Accessibility & contrast

On white

2.57
#ABA53E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#ABA53E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA53E
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA53E#FFFFFF#000000##000000
##ABA53E1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F31
Deuteranopia (green-blind)
#B5A444
Tritanopia (blue-blind)
#B79A8F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #aba53e;
/* rgb */ color: rgb(171, 165, 62);
/* oklch */ color: oklch(70.7% 0.124 106.0);
Tailwind
colors: {
  custom: {
    50: '#c7bf78',
    500: '#aba53e',
    950: '#000000',
  },
}
SCSS
$custom: #aba53e;
$custom-light: #c7bf78;
$custom-dark: #000000;
JSON
{
  "hex": "#aba53e",
  "rgb": {
    "r": 171,
    "g": 165,
    "b": 62
  },
  "hsl": {
    "h": 56.697,
    "s": 46.781,
    "l": 45.686
  },
  "oklch": {
    "l": 0.70711,
    "c": 0.12379,
    "h": 106
  },
  "luminance": 0.35916
}

Semantic roles & 50–950 ramp

primary
#ABA53E
secondary
#8487C1
accent
#59D651
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #ABA53E

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

Preview Lab → · Contrast checker → · Palette generator →

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