#ABA837#ABA837

#ABA837 is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.3% C 0.132 H 107.8°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#ABA837
RGBrgb(171, 168, 55)
HSLhsl(58, 51%, 44%)
HSVhsv(58, 68%, 67%)
CMYKcmyk(0%, 1.8%, 67.8%, 32.9%)
CIE-LABlab(67.23, -12.79, 56.11)
CIE-LCHlch(67.23, 57.55, 102.84°)
OKLaboklab(71.31% -0.0404 0.1258)
OKLCHoklch(71.31% 0.132 107.8)
XYZxyz(31.4879, 36.9400, 9.0852)
Luminance0.3694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA837 #373AAB
analogous
#AB6E37 #ABA837 #74AB37
triadic
#ABA837 #37ABA8 #A837AB
tetradic
#ABA837 #37AB6E #373AAB #AB3774
square
#ABA837 #37AB6E #373AAB #AB3774
split-complementary
#ABA837 #3774AB #6E37AB
monochromatic
#4E4D19 #7D7B28 #ABA837 #C9C656 #D8D685

Accessibility & contrast

On white

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

On black

8.39
#ABA837 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA837
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA837#FFFFFF#000000##000000
##ABA8371.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A126
Deuteranopia (green-blind)
#B8A63F
Tritanopia (blue-blind)
#B79D91
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #aba837;
/* rgb */ color: rgb(171, 168, 55);
/* oklch */ color: oklch(71.3% 0.132 107.8);
Tailwind
colors: {
  custom: {
    50: '#c7c174',
    500: '#aba837',
    950: '#000000',
  },
}
SCSS
$custom: #aba837;
$custom-light: #c7c174;
$custom-dark: #000000;
JSON
{
  "hex": "#aba837",
  "rgb": {
    "r": 171,
    "g": 168,
    "b": 55
  },
  "hsl": {
    "h": 58.448,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.71312,
    "c": 0.1321,
    "h": 107.8
  },
  "luminance": 0.36939
}

Semantic roles & 50–950 ramp

primary
#ABA837
secondary
#7C7EC1
accent
#51DB4D
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #ABA837

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

Preview Lab → · Contrast checker → · Palette generator →

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