#ABA92F#ABA92F

#ABA92F is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.5% C 0.138 H 108.5°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#ABA92F
RGBrgb(171, 169, 47)
HSLhsl(59, 57%, 43%)
HSVhsv(59, 73%, 67%)
CMYKcmyk(0%, 1.2%, 72.5%, 32.9%)
CIE-LABlab(67.46, -13.72, 59.37)
CIE-LCHlch(67.46, 60.94, 103.02°)
OKLaboklab(71.47% -0.0439 0.1312)
OKLCHoklch(71.47% 0.138 108.5)
XYZxyz(31.4968, 37.2401, 8.2177)
Luminance0.3724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA92F #2F31AB
analogous
#AB6B2F #ABA92F #6FAB2F
triadic
#ABA92F #2FABA9 #A92FAB
tetradic
#ABA92F #2FAB6B #2F31AB #AB2F6F
square
#ABA92F #2FAB6B #2F31AB #AB2F6F
split-complementary
#ABA92F #2F6FAB #6B2FAB
monochromatic
#4B4A15 #7B7A22 #ABA92F #CDCB4A #DAD97A

Accessibility & contrast

On white

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

On black

8.45
#ABA92F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA92F
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA92F#FFFFFF#000000##000000
##ABA92F1.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A218
Deuteranopia (green-blind)
#B9A638
Tritanopia (blue-blind)
#B79E91
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #aba92f;
/* rgb */ color: rgb(171, 169, 47);
/* oklch */ color: oklch(71.5% 0.138 108.5);
Tailwind
colors: {
  custom: {
    50: '#c7c270',
    500: '#aba92f',
    950: '#000000',
  },
}
SCSS
$custom: #aba92f;
$custom-light: #c7c270;
$custom-dark: #000000;
JSON
{
  "hex": "#aba92f",
  "rgb": {
    "r": 171,
    "g": 169,
    "b": 47
  },
  "hsl": {
    "h": 59.032,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.71474,
    "c": 0.13838,
    "h": 108.5
  },
  "luminance": 0.37239
}

Semantic roles & 50–950 ramp

primary
#ABA92F
secondary
#7374C3
accent
#4AE048
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #ABA92F

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

Preview Lab → · Contrast checker → · Palette generator →

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