#ABA52B#ABA52B

#ABA52B is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.6% C 0.137 H 106.5°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#ABA52B
RGBrgb(171, 165, 43)
HSLhsl(57, 60%, 42%)
HSVhsv(57, 75%, 67%)
CMYKcmyk(0%, 3.5%, 74.9%, 32.9%)
CIE-LABlab(66.32, -11.83, 59.71)
CIE-LCHlch(66.32, 60.87, 101.21°)
OKLaboklab(70.56% -0.039 0.1312)
OKLCHoklch(70.56% 0.137 106.5)
XYZxyz(30.6870, 35.7437, 7.5678)
Luminance0.3574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA52B #2B31AB
analogous
#AB652B #ABA52B #71AB2B
triadic
#ABA52B #2BABA5 #A52BAB
tetradic
#ABA52B #2BAB65 #2B31AB #AB2B71
square
#ABA52B #2BAB65 #2B31AB #AB2B71
split-complementary
#ABA52B #2B71AB #652BAB
monochromatic
#494712 #7A761F #ABA52B #D0C943 #DCD774

Accessibility & contrast

On white

2.58
#ABA52B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#ABA52B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA52B
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA52B#FFFFFF#000000##000000
##ABA52B1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F11
Deuteranopia (green-blind)
#B6A334
Tritanopia (blue-blind)
#B89A8E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #aba52b;
/* rgb */ color: rgb(171, 165, 43);
/* oklch */ color: oklch(70.6% 0.137 106.5);
Tailwind
colors: {
  custom: {
    50: '#c8bf6e',
    500: '#aba52b',
    950: '#000000',
  },
}
SCSS
$custom: #aba52b;
$custom-light: #c8bf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#aba52b",
  "rgb": {
    "r": 171,
    "g": 165,
    "b": 43
  },
  "hsl": {
    "h": 57.188,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.70563,
    "c": 0.13687,
    "h": 106.5
  },
  "luminance": 0.35743
}

Semantic roles & 50–950 ramp

primary
#ABA52B
secondary
#6E72C4
accent
#4CE345
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141208
muted
#82817B

Preview Lab

Preview with #ABA52B

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

Preview Lab → · Contrast checker → · Palette generator →

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