#ABA83B#ABA83B

#ABA83B is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.3% C 0.129 H 107.7°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#ABA83B
RGBrgb(171, 168, 59)
HSLhsl(58, 49%, 45%)
HSVhsv(58, 65%, 67%)
CMYKcmyk(0%, 1.8%, 65.5%, 32.9%)
CIE-LABlab(67.26, -12.55, 54.51)
CIE-LCHlch(67.26, 55.93, 102.97°)
OKLaboklab(71.35% -0.0394 0.123)
OKLCHoklch(71.35% 0.129 107.7)
XYZxyz(31.5877, 36.9799, 9.6107)
Luminance0.3698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA83B #3B3EAB
analogous
#AB703B #ABA83B #76AB3B
triadic
#ABA83B #3BABA8 #A83BAB
tetradic
#ABA83B #3BAB70 #3B3EAB #AB3B76
square
#ABA83B #3BAB70 #3B3EAB #AB3B76
split-complementary
#ABA83B #3B76AB #703BAB
monochromatic
#504F1C #7D7B2B #ABA83B #C7C45C #D7D58A

Accessibility & contrast

On white

2.50
#ABA83B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#ABA83B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA83B
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA83B#FFFFFF#000000##000000
##ABA83B1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A22C
Deuteranopia (green-blind)
#B8A642
Tritanopia (blue-blind)
#B79D92
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #aba83b;
/* rgb */ color: rgb(171, 168, 59);
/* oklch */ color: oklch(71.3% 0.129 107.7);
Tailwind
colors: {
  custom: {
    50: '#c7c177',
    500: '#aba83b',
    950: '#000000',
  },
}
SCSS
$custom: #aba83b;
$custom-light: #c7c177;
$custom-dark: #000000;
JSON
{
  "hex": "#aba83b",
  "rgb": {
    "r": 171,
    "g": 168,
    "b": 59
  },
  "hsl": {
    "h": 58.393,
    "s": 48.696,
    "l": 45.098
  },
  "oklch": {
    "l": 0.71345,
    "c": 0.12916,
    "h": 107.7
  },
  "luminance": 0.36979
}

Semantic roles & 50–950 ramp

primary
#ABA83B
secondary
#8183C1
accent
#53D850
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #ABA83B

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

Preview Lab → · Contrast checker → · Palette generator →

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