#ABA245#ABA245

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

Color values

HEX#ABA245
RGBrgb(171, 162, 69)
HSLhsl(55, 43%, 47%)
HSVhsv(55, 60%, 67%)
CMYKcmyk(0%, 5.3%, 59.6%, 32.9%)
CIE-LABlab(65.69, -8.73, 48.42)
CIE-LCHlch(65.69, 49.20, 100.22°)
OKLaboklab(70.13% -0.0274 0.1116)
OKLCHoklch(70.13% 0.115 103.8)
XYZxyz(30.7902, 34.9294, 10.7492)
Luminance0.3493 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA245 #454EAB
analogous
#AB6F45 #ABA245 #81AB45
triadic
#ABA245 #45ABA2 #A245AB
tetradic
#ABA245 #45AB6F #454EAB #AB4581
square
#ABA245 #45AB6F #454EAB #AB4581
split-complementary
#ABA245 #4581AB #6F45AB
monochromatic
#544F22 #7F7933 #ABA245 #C3BB6A #D5CF96

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABA245#FFFFFF#000000##000000
##ABA2451.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)
#AF9D3B
Deuteranopia (green-blind)
#B2A24A
Tritanopia (blue-blind)
#B7988E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aba245;
/* rgb */ color: rgb(171, 162, 69);
/* oklch */ color: oklch(70.1% 0.115 103.8);
Tailwind
colors: {
  custom: {
    50: '#c6bd7c',
    500: '#aba245',
    950: '#000000',
  },
}
SCSS
$custom: #aba245;
$custom-light: #c6bd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#aba245",
  "rgb": {
    "r": 171,
    "g": 162,
    "b": 69
  },
  "hsl": {
    "h": 54.706,
    "s": 42.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.70125,
    "c": 0.11489,
    "h": 103.8
  },
  "luminance": 0.34928
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ABA245

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

Preview Lab → · Contrast checker → · Palette generator →

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