#ABA145#ABA145

#ABA145 is a light, moderate yellow. Relative luminance 0.346; OKLCH L 69.9% C 0.114 H 103.1°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#ABA145
RGBrgb(171, 161, 69)
HSLhsl(54, 43%, 47%)
HSVhsv(54, 60%, 67%)
CMYKcmyk(0%, 5.8%, 59.6%, 32.9%)
CIE-LABlab(65.42, -8.20, 48.11)
CIE-LCHlch(65.42, 48.81, 99.68°)
OKLaboklab(69.91% -0.0259 0.1109)
OKLCHoklch(69.91% 0.114 103.1)
XYZxyz(30.6147, 34.5785, 10.6907)
Luminance0.3458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA145 #454FAB
analogous
#AB6E45 #ABA145 #82AB45
triadic
#ABA145 #45ABA1 #A145AB
tetradic
#ABA145 #45AB6E #454FAB #AB4582
square
#ABA145 #45AB6E #454FAB #AB4582
split-complementary
#ABA145 #4582AB #6E45AB
monochromatic
#544F22 #7F7833 #ABA145 #C3BA6A #D5CE96

Accessibility & contrast

On white

2.65
#ABA145 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#ABA145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA145
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA145#FFFFFF#000000##000000
##ABA1451.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9C3B
Deuteranopia (green-blind)
#B2A14A
Tritanopia (blue-blind)
#B7978D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aba145;
/* rgb */ color: rgb(171, 161, 69);
/* oklch */ color: oklch(69.9% 0.114 103.1);
Tailwind
colors: {
  custom: {
    50: '#c6bc7c',
    500: '#aba145',
    950: '#000000',
  },
}
SCSS
$custom: #aba145;
$custom-light: #c6bc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#aba145",
  "rgb": {
    "r": 171,
    "g": 161,
    "b": 69
  },
  "hsl": {
    "h": 54.118,
    "s": 42.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.69907,
    "c": 0.11391,
    "h": 103.1
  },
  "luminance": 0.34577
}

Semantic roles & 50–950 ramp

primary
#ABA145
secondary
#8B91C0
accent
#62D256
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #ABA145

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

Preview Lab → · Contrast checker → · Palette generator →

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