#ABA239#ABA239

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

Color values

HEX#ABA239
RGBrgb(171, 162, 57)
HSLhsl(55, 50%, 45%)
HSVhsv(55, 67%, 67%)
CMYKcmyk(0%, 5.3%, 66.7%, 32.9%)
CIE-LABlab(65.59, -9.53, 53.61)
CIE-LCHlch(65.59, 54.45, 100.08°)
OKLaboklab(70.01% -0.031 0.1208)
OKLCHoklch(70.01% 0.125 104.4)
XYZxyz(30.4546, 34.7951, 8.9820)
Luminance0.3479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA239 #3942AB
analogous
#AB6939 #ABA239 #7BAB39
triadic
#ABA239 #39ABA2 #A239AB
tetradic
#ABA239 #39AB69 #3942AB #AB397B
square
#ABA239 #39AB69 #3942AB #AB397B
split-complementary
#ABA239 #397BAB #6939AB
monochromatic
#4F4B1A #7D772A #ABA239 #C8BF59 #D7D187

Accessibility & contrast

On white

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

On black

7.96
#ABA239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA239
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA239#FFFFFF#000000##000000
##ABA2391.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C2B
Deuteranopia (green-blind)
#B3A23F
Tritanopia (blue-blind)
#B7978C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aba239;
/* rgb */ color: rgb(171, 162, 57);
/* oklch */ color: oklch(70.0% 0.125 104.4);
Tailwind
colors: {
  custom: {
    50: '#c7bd75',
    500: '#aba239',
    950: '#000000',
  },
}
SCSS
$custom: #aba239;
$custom-light: #c7bd75;
$custom-dark: #000000;
JSON
{
  "hex": "#aba239",
  "rgb": {
    "r": 171,
    "g": 162,
    "b": 57
  },
  "hsl": {
    "h": 55.263,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.70008,
    "c": 0.12472,
    "h": 104.4
  },
  "luminance": 0.34794
}

Semantic roles & 50–950 ramp

primary
#ABA239
secondary
#7F84C1
accent
#59DA4E
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #ABA239

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

Preview Lab → · Contrast checker → · Palette generator →

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