#ABA236#ABA236

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

Color values

HEX#ABA236
RGBrgb(171, 162, 54)
HSLhsl(55, 52%, 44%)
HSVhsv(55, 68%, 67%)
CMYKcmyk(0%, 5.3%, 68.4%, 32.9%)
CIE-LABlab(65.57, -9.71, 54.82)
CIE-LCHlch(65.57, 55.67, 100.04°)
OKLaboklab(69.98% -0.0319 0.1229)
OKLCHoklch(69.98% 0.127 104.5)
XYZxyz(30.3820, 34.7661, 8.5995)
Luminance0.3477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA236 #363FAB
analogous
#AB6836 #ABA236 #7AAB36
triadic
#ABA236 #36ABA2 #A236AB
tetradic
#ABA236 #36AB68 #363FAB #AB367A
square
#ABA236 #36AB68 #363FAB #AB367A
split-complementary
#ABA236 #367AAB #6836AB
monochromatic
#4E4A19 #7C7627 #ABA236 #C9C055 #D8D183

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABA236#FFFFFF#000000##000000
##ABA2361.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)
#B09C27
Deuteranopia (green-blind)
#B3A13D
Tritanopia (blue-blind)
#B8978C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aba236;
/* rgb */ color: rgb(171, 162, 54);
/* oklch */ color: oklch(70.0% 0.127 104.5);
Tailwind
colors: {
  custom: {
    50: '#c7bd73',
    500: '#aba236',
    950: '#000000',
  },
}
SCSS
$custom: #aba236;
$custom-light: #c7bd73;
$custom-dark: #000000;
JSON
{
  "hex": "#aba236",
  "rgb": {
    "r": 171,
    "g": 162,
    "b": 54
  },
  "hsl": {
    "h": 55.385,
    "s": 52,
    "l": 44.118
  },
  "oklch": {
    "l": 0.69982,
    "c": 0.12692,
    "h": 104.5
  },
  "luminance": 0.34765
}

Semantic roles & 50–950 ramp

primary
#ABA236
secondary
#7B81C2
accent
#57DB4C
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #ABA236

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

Preview Lab → · Contrast checker → · Palette generator →

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