#ABA43B#ABA43B

#ABA43B is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.5% C 0.125 H 105.5°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#ABA43B
RGBrgb(171, 164, 59)
HSLhsl(56, 49%, 45%)
HSVhsv(56, 65%, 67%)
CMYKcmyk(0%, 4.1%, 65.5%, 32.9%)
CIE-LABlab(66.16, -10.46, 53.35)
CIE-LCHlch(66.16, 54.37, 101.10°)
OKLaboklab(70.46% -0.0334 0.1206)
OKLCHoklch(70.46% 0.125 105.5)
XYZxyz(30.8606, 35.5257, 9.3684)
Luminance0.3553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA43B #3B42AB
analogous
#AB6C3B #ABA43B #7AAB3B
triadic
#ABA43B #3BABA4 #A43BAB
tetradic
#ABA43B #3BAB6C #3B42AB #AB3B7A
square
#ABA43B #3BAB6C #3B42AB #AB3B7A
split-complementary
#ABA43B #3B7AAB #6C3BAB
monochromatic
#504D1C #7D782B #ABA43B #C7C05C #D7D28A

Accessibility & contrast

On white

2.59
#ABA43B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#ABA43B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA43B
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA43B#FFFFFF#000000##000000
##ABA43B1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E2D
Deuteranopia (green-blind)
#B4A341
Tritanopia (blue-blind)
#B7998E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #aba43b;
/* rgb */ color: rgb(171, 164, 59);
/* oklch */ color: oklch(70.5% 0.125 105.5);
Tailwind
colors: {
  custom: {
    50: '#c7be76',
    500: '#aba43b',
    950: '#000000',
  },
}
SCSS
$custom: #aba43b;
$custom-light: #c7be76;
$custom-dark: #000000;
JSON
{
  "hex": "#aba43b",
  "rgb": {
    "r": 171,
    "g": 164,
    "b": 59
  },
  "hsl": {
    "h": 56.25,
    "s": 48.696,
    "l": 45.098
  },
  "oklch": {
    "l": 0.70464,
    "c": 0.12514,
    "h": 105.5
  },
  "luminance": 0.35525
}

Semantic roles & 50–950 ramp

primary
#ABA43B
secondary
#8185C1
accent
#58D850
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #ABA43B

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

Preview Lab → · Contrast checker → · Palette generator →

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