#ABA05F#ABA05F

#ABA05F is a light, moderate yellow. Relative luminance 0.346; OKLCH L 70.0% C 0.087 H 99.9°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#ABA05F
RGBrgb(171, 160, 95)
HSLhsl(51, 31%, 52%)
HSVhsv(51, 44%, 67%)
CMYKcmyk(0%, 6.4%, 44.4%, 32.9%)
CIE-LABlab(65.46, -5.34, 35.23)
CIE-LCHlch(65.46, 35.63, 98.63°)
OKLaboklab(70.04% -0.0148 0.0852)
OKLCHoklch(70.04% 0.087 99.9)
XYZxyz(31.4317, 34.6268, 15.8522)
Luminance0.3463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA05F #5F6AAB
analogous
#AB7A5F #ABA05F #90AB5F
triadic
#ABA05F #5FABA0 #A05FAB
tetradic
#ABA05F #5FAB7A #5F6AAB #AB5F90
square
#ABA05F #5FAB7A #5F6AAB #AB5F90
split-complementary
#ABA05F #5F90AB #7A5FAB
monochromatic
#5E5831 #867D47 #ABA05F #C0B887 #D5D0AF

Accessibility & contrast

On white

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

On black

7.93
#ABA05F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA05F
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA05F#FFFFFF#000000##000000
##ABA05F1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9C5A
Deuteranopia (green-blind)
#AFA162
Tritanopia (blue-blind)
#B59890
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aba05f;
/* rgb */ color: rgb(171, 160, 95);
/* oklch */ color: oklch(70.0% 0.087 99.9);
Tailwind
colors: {
  custom: {
    50: '#c5bb8d',
    500: '#aba05f',
    950: '#000000',
  },
}
SCSS
$custom: #aba05f;
$custom-light: #c5bb8d;
$custom-dark: #000000;
JSON
{
  "hex": "#aba05f",
  "rgb": {
    "r": 171,
    "g": 160,
    "b": 95
  },
  "hsl": {
    "h": 51.316,
    "s": 31.148,
    "l": 52.157
  },
  "oklch": {
    "l": 0.70037,
    "c": 0.08651,
    "h": 99.9
  },
  "luminance": 0.34626
}

Semantic roles & 50–950 ramp

primary
#ABA05F
secondary
#A2A7C3
accent
#6FC760
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13110C
muted
#82807D

Preview Lab

Preview with #ABA05F

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

Preview Lab → · Contrast checker → · Palette generator →

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