#ABA845#ABA845

#ABA845 is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.4% C 0.121 H 107.5°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#ABA845
RGBrgb(171, 168, 69)
HSLhsl(58, 43%, 47%)
HSVhsv(58, 60%, 67%)
CMYKcmyk(0%, 1.8%, 59.6%, 32.9%)
CIE-LABlab(67.35, -11.88, 50.24)
CIE-LCHlch(67.35, 51.63, 103.31°)
OKLaboklab(71.44% -0.0363 0.1155)
OKLCHoklch(71.44% 0.121 107.5)
XYZxyz(31.8724, 37.0938, 11.1100)
Luminance0.3709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA845 #4548AB
analogous
#AB7545 #ABA845 #7BAB45
triadic
#ABA845 #45ABA8 #A845AB
tetradic
#ABA845 #45AB75 #4548AB #AB457B
square
#ABA845 #45AB75 #4548AB #AB457B
split-complementary
#ABA845 #457BAB #7545AB
monochromatic
#545222 #7F7D33 #ABA845 #C3C06A #D5D396

Accessibility & contrast

On white

2.49
#ABA845 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#ABA845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA845
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA845#FFFFFF#000000##000000
##ABA8451.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A23A
Deuteranopia (green-blind)
#B7A64B
Tritanopia (blue-blind)
#B69E93
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #aba845;
/* rgb */ color: rgb(171, 168, 69);
/* oklch */ color: oklch(71.4% 0.121 107.5);
Tailwind
colors: {
  custom: {
    50: '#c6c17d',
    500: '#aba845',
    950: '#000000',
  },
}
SCSS
$custom: #aba845;
$custom-light: #c6c17d;
$custom-dark: #000000;
JSON
{
  "hex": "#aba845",
  "rgb": {
    "r": 171,
    "g": 168,
    "b": 69
  },
  "hsl": {
    "h": 58.235,
    "s": 42.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.71441,
    "c": 0.12106,
    "h": 107.5
  },
  "luminance": 0.37093
}

Semantic roles & 50–950 ramp

primary
#ABA845
secondary
#8B8DC0
accent
#59D256
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #ABA845

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

Preview Lab → · Contrast checker → · Palette generator →

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