#ABA248#ABA248

#ABA248 is a light, moderate yellow. Relative luminance 0.350; OKLCH L 70.2% C 0.112 H 103.6°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#ABA248
RGBrgb(171, 162, 72)
HSLhsl(55, 41%, 48%)
HSVhsv(55, 58%, 67%)
CMYKcmyk(0%, 5.3%, 57.9%, 32.9%)
CIE-LABlab(65.72, -8.51, 47.05)
CIE-LCHlch(65.72, 47.81, 100.25°)
OKLaboklab(70.16% -0.0264 0.109)
OKLCHoklch(70.16% 0.112 103.6)
XYZxyz(30.8856, 34.9675, 11.2521)
Luminance0.3497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA248 #4851AB
analogous
#AB7048 #ABA248 #83AB48
triadic
#ABA248 #48ABA2 #A248AB
tetradic
#ABA248 #48AB70 #4851AB #AB4883
square
#ABA248 #48AB70 #4851AB #AB4883
split-complementary
#ABA248 #4883AB #7048AB
monochromatic
#555024 #807936 #ABA248 #C2BA6E #D4CF99

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABA248#FFFFFF#000000##000000
##ABA2481.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)
#AF9D3F
Deuteranopia (green-blind)
#B2A24D
Tritanopia (blue-blind)
#B7988E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aba248;
/* rgb */ color: rgb(171, 162, 72);
/* oklch */ color: oklch(70.2% 0.112 103.6);
Tailwind
colors: {
  custom: {
    50: '#c6bd7e',
    500: '#aba248',
    950: '#000000',
  },
}
SCSS
$custom: #aba248;
$custom-light: #c6bd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#aba248",
  "rgb": {
    "r": 171,
    "g": 162,
    "b": 72
  },
  "hsl": {
    "h": 54.545,
    "s": 40.741,
    "l": 47.647
  },
  "oklch": {
    "l": 0.70158,
    "c": 0.11218,
    "h": 103.6
  },
  "luminance": 0.34966
}

Semantic roles & 50–950 ramp

primary
#ABA248
secondary
#8E93C0
accent
#62D157
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #ABA248

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

Preview Lab → · Contrast checker → · Palette generator →

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