#ABA237#ABA237

#ABA237 is a light, vivid yellow. Relative luminance 0.348; OKLCH L 70.0% C 0.126 H 104.5°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#ABA237
RGBrgb(171, 162, 55)
HSLhsl(55, 51%, 44%)
HSVhsv(55, 68%, 67%)
CMYKcmyk(0%, 5.3%, 67.8%, 32.9%)
CIE-LABlab(65.57, -9.65, 54.42)
CIE-LCHlch(65.57, 55.27, 100.06°)
OKLaboklab(69.99% -0.0316 0.1222)
OKLCHoklch(69.99% 0.126 104.5)
XYZxyz(30.4057, 34.7756, 8.7244)
Luminance0.3477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA237 #3740AB
analogous
#AB6837 #ABA237 #7AAB37
triadic
#ABA237 #37ABA2 #A237AB
tetradic
#ABA237 #37AB68 #3740AB #AB377A
square
#ABA237 #37AB68 #3740AB #AB377A
split-complementary
#ABA237 #377AAB #6837AB
monochromatic
#4E4A19 #7D7628 #ABA237 #C9C056 #D8D185

Accessibility & contrast

On white

2.64
#ABA237 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#ABA237 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA237
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA237#FFFFFF#000000##000000
##ABA2371.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C28
Deuteranopia (green-blind)
#B3A23E
Tritanopia (blue-blind)
#B8978C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aba237;
/* rgb */ color: rgb(171, 162, 55);
/* oklch */ color: oklch(70.0% 0.126 104.5);
Tailwind
colors: {
  custom: {
    50: '#c7bd74',
    500: '#aba237',
    950: '#000000',
  },
}
SCSS
$custom: #aba237;
$custom-light: #c7bd74;
$custom-dark: #000000;
JSON
{
  "hex": "#aba237",
  "rgb": {
    "r": 171,
    "g": 162,
    "b": 55
  },
  "hsl": {
    "h": 55.345,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.69991,
    "c": 0.12621,
    "h": 104.5
  },
  "luminance": 0.34774
}

Semantic roles & 50–950 ramp

primary
#ABA237
secondary
#7C82C1
accent
#58DB4D
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #ABA237

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

Preview Lab → · Contrast checker → · Palette generator →

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