#ABAF4F#ABAF4F

#ABAF4F is a light, moderate yellow. Relative luminance 0.399; OKLCH L 73.1% C 0.120 H 111.2°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#ABAF4F
RGBrgb(171, 175, 79)
HSLhsl(63, 38%, 50%)
HSVhsv(63, 55%, 69%)
CMYKcmyk(2.3%, 0%, 54.9%, 31.4%)
CIE-LABlab(69.39, -14.73, 47.92)
CIE-LCHlch(69.39, 50.13, 107.09°)
OKLaboklab(73.1% -0.0433 0.1117)
OKLCHoklch(73.1% 0.12 111.2)
XYZxyz(33.5366, 39.8831, 13.3272)
Luminance0.3988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAF4F #534FAF
analogous
#AF834F #ABAF4F #7BAF4F
triadic
#ABAF4F #4FABAF #AF4FAB
tetradic
#ABAF4F #4FAF83 #534FAF #AF4F7B
square
#ABAF4F #4FAF83 #534FAF #AF4F7B
split-complementary
#ABAF4F #4F7BAF #834FAF
monochromatic
#595B29 #82853C #ABAF4F #BFC279 #D3D5A3

Accessibility & contrast

On white

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

On black

8.98
#ABAF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAF4F
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAF4F#FFFFFF#000000##000000
##ABAF4F1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA845
Deuteranopia (green-blind)
#BCAB54
Tritanopia (blue-blind)
#B5A59A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #abaf4f;
/* rgb */ color: rgb(171, 175, 79);
/* oklch */ color: oklch(73.1% 0.120 111.2);
Tailwind
colors: {
  custom: {
    50: '#c6c683',
    500: '#abaf4f',
    950: '#000000',
  },
}
SCSS
$custom: #abaf4f;
$custom-light: #c6c683;
$custom-dark: #000000;
JSON
{
  "hex": "#abaf4f",
  "rgb": {
    "r": 171,
    "g": 175,
    "b": 79
  },
  "hsl": {
    "h": 62.5,
    "s": 37.795,
    "l": 49.804
  },
  "oklch": {
    "l": 0.73098,
    "c": 0.11983,
    "h": 111.2
  },
  "luminance": 0.39882
}

Semantic roles & 50–950 ramp

primary
#ABAF4F
secondary
#9997C3
accent
#5ACE5F
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #ABAF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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