#ABAF4A#ABAF4A

#ABAF4A is a light, vivid yellow. Relative luminance 0.398; OKLCH L 73.0% C 0.124 H 111.2°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#ABAF4A
RGBrgb(171, 175, 74)
HSLhsl(62, 41%, 49%)
HSVhsv(62, 58%, 69%)
CMYKcmyk(2.3%, 0%, 57.7%, 31.4%)
CIE-LABlab(69.34, -15.13, 50.18)
CIE-LCHlch(69.34, 52.41, 106.78°)
OKLaboklab(73.04% -0.045 0.116)
OKLCHoklch(73.04% 0.124 111.2)
XYZxyz(33.3614, 39.8130, 12.4045)
Luminance0.3981 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAF4A #4E4AAF
analogous
#AF814A #ABAF4A #79AF4A
triadic
#ABAF4A #4AABAF #AF4AAB
tetradic
#ABAF4A #4AAF81 #4E4AAF #AF4A79
square
#ABAF4A #4AAF81 #4E4AAF #AF4A79
split-complementary
#ABAF4A #4A79AF #814AAF
monochromatic
#575926 #818438 #ABAF4A #C0C473 #D4D69E

Accessibility & contrast

On white

2.34
#ABAF4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#ABAF4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAF4A
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAF4A#FFFFFF#000000##000000
##ABAF4A1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA83F
Deuteranopia (green-blind)
#BCAB50
Tritanopia (blue-blind)
#B6A599
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #abaf4a;
/* rgb */ color: rgb(171, 175, 74);
/* oklch */ color: oklch(73.0% 0.124 111.2);
Tailwind
colors: {
  custom: {
    50: '#c6c680',
    500: '#abaf4a',
    950: '#000000',
  },
}
SCSS
$custom: #abaf4a;
$custom-light: #c6c680;
$custom-dark: #000000;
JSON
{
  "hex": "#abaf4a",
  "rgb": {
    "r": 171,
    "g": 175,
    "b": 74
  },
  "hsl": {
    "h": 62.376,
    "s": 40.562,
    "l": 48.824
  },
  "oklch": {
    "l": 0.73042,
    "c": 0.12439,
    "h": 111.2
  },
  "luminance": 0.39812
}

Semantic roles & 50–950 ramp

primary
#ABAF4A
secondary
#9492C2
accent
#57D05C
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130A
muted
#82827C

Preview Lab

Preview with #ABAF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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