#ABA246#ABA246

#ABA246 is a light, moderate yellow. Relative luminance 0.349; OKLCH L 70.1% C 0.114 H 103.7°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#ABA246
RGBrgb(171, 162, 70)
HSLhsl(55, 42%, 47%)
HSVhsv(55, 59%, 67%)
CMYKcmyk(0%, 5.3%, 59.1%, 32.9%)
CIE-LABlab(65.70, -8.66, 47.96)
CIE-LCHlch(65.70, 48.74, 100.23°)
OKLaboklab(70.14% -0.0271 0.1107)
OKLCHoklch(70.14% 0.114 103.7)
XYZxyz(30.8215, 34.9419, 10.9141)
Luminance0.3494 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA246 #464FAB
analogous
#AB6F46 #ABA246 #82AB46
triadic
#ABA246 #46ABA2 #A246AB
tetradic
#ABA246 #46AB6F #464FAB #AB4682
square
#ABA246 #46AB6F #464FAB #AB4682
split-complementary
#ABA246 #4682AB #6F46AB
monochromatic
#545022 #807934 #ABA246 #C3BB6C #D4CF97

Accessibility & contrast

On white

2.63
#ABA246 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#ABA246 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA246
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA246#FFFFFF#000000##000000
##ABA2461.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9D3C
Deuteranopia (green-blind)
#B2A24B
Tritanopia (blue-blind)
#B7988E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aba246;
/* rgb */ color: rgb(171, 162, 70);
/* oklch */ color: oklch(70.1% 0.114 103.7);
Tailwind
colors: {
  custom: {
    50: '#c6bd7d',
    500: '#aba246',
    950: '#000000',
  },
}
SCSS
$custom: #aba246;
$custom-light: #c6bd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#aba246",
  "rgb": {
    "r": 171,
    "g": 162,
    "b": 70
  },
  "hsl": {
    "h": 54.653,
    "s": 41.909,
    "l": 47.255
  },
  "oklch": {
    "l": 0.70136,
    "c": 0.114,
    "h": 103.7
  },
  "luminance": 0.34941
}

Semantic roles & 50–950 ramp

primary
#ABA246
secondary
#8C91C0
accent
#61D256
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #ABA246

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

Preview Lab → · Contrast checker → · Palette generator →

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