#ABA45B#ABA45B

#ABA45B is a light, moderate yellow. Relative luminance 0.360; OKLCH L 70.8% C 0.095 H 103.7°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#ABA45B
RGBrgb(171, 164, 91)
HSLhsl(55, 32%, 51%)
HSVhsv(55, 47%, 67%)
CMYKcmyk(0%, 4.1%, 46.8%, 32.9%)
CIE-LABlab(66.49, -7.89, 38.58)
CIE-LCHlch(66.49, 39.38, 101.55°)
OKLaboklab(70.84% -0.0225 0.0925)
OKLCHoklch(70.84% 0.095 103.7)
XYZxyz(31.9591, 35.9651, 15.1540)
Luminance0.3596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA45B #5B62AB
analogous
#AB7C5B #ABA45B #8AAB5B
triadic
#ABA45B #5BABA4 #A45BAB
tetradic
#ABA45B #5BAB7C #5B62AB #AB5B8A
square
#ABA45B #5BAB7C #5B62AB #AB5B8A
split-complementary
#ABA45B #5B8AAB #7C5BAB
monochromatic
#5C582F #857F44 #ABA45B #C0BA83 #D4D1AC

Accessibility & contrast

On white

2.56
#ABA45B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#ABA45B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA45B
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA45B#FFFFFF#000000##000000
##ABA45B1.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9F55
Deuteranopia (green-blind)
#B2A35E
Tritanopia (blue-blind)
#B59B93
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #aba45b;
/* rgb */ color: rgb(171, 164, 91);
/* oklch */ color: oklch(70.8% 0.095 103.7);
Tailwind
colors: {
  custom: {
    50: '#c5be8b',
    500: '#aba45b',
    950: '#000000',
  },
}
SCSS
$custom: #aba45b;
$custom-light: #c5be8b;
$custom-dark: #000000;
JSON
{
  "hex": "#aba45b",
  "rgb": {
    "r": 171,
    "g": 164,
    "b": 91
  },
  "hsl": {
    "h": 54.75,
    "s": 32.258,
    "l": 51.373
  },
  "oklch": {
    "l": 0.70841,
    "c": 0.09516,
    "h": 103.7
  },
  "luminance": 0.35964
}

Semantic roles & 50–950 ramp

primary
#ABA45B
secondary
#9FA2C3
accent
#69C85F
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #ABA45B

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

Preview Lab → · Contrast checker → · Palette generator →

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