#ABAF4D#ABAF4D

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

Color values

HEX#ABAF4D
RGBrgb(171, 175, 77)
HSLhsl(62, 39%, 49%)
HSVhsv(62, 56%, 69%)
CMYKcmyk(2.3%, 0%, 56%, 31.4%)
CIE-LABlab(69.37, -14.89, 48.83)
CIE-LCHlch(69.37, 51.05, 106.96°)
OKLaboklab(73.08% -0.044 0.1134)
OKLCHoklch(73.08% 0.122 111.2)
XYZxyz(33.4649, 39.8544, 12.9495)
Luminance0.3985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAF4D #514DAF
analogous
#AF824D #ABAF4D #7AAF4D
triadic
#ABAF4D #4DABAF #AF4DAB
tetradic
#ABAF4D #4DAF82 #514DAF #AF4D7A
square
#ABAF4D #4DAF82 #514DAF #AF4D7A
split-complementary
#ABAF4D #4D7AAF #824DAF
monochromatic
#585A28 #81853A #ABAF4D #C0C376 #D3D6A1

Accessibility & contrast

On white

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

On black

8.97
#ABAF4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAF4D
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAF4D#FFFFFF#000000##000000
##ABAF4D1.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA843
Deuteranopia (green-blind)
#BCAB53
Tritanopia (blue-blind)
#B6A59A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #abaf4d;
/* rgb */ color: rgb(171, 175, 77);
/* oklch */ color: oklch(73.1% 0.122 111.2);
Tailwind
colors: {
  custom: {
    50: '#c6c682',
    500: '#abaf4d',
    950: '#000000',
  },
}
SCSS
$custom: #abaf4d;
$custom-light: #c6c682;
$custom-dark: #000000;
JSON
{
  "hex": "#abaf4d",
  "rgb": {
    "r": 171,
    "g": 175,
    "b": 77
  },
  "hsl": {
    "h": 62.449,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.73075,
    "c": 0.12168,
    "h": 111.2
  },
  "luminance": 0.39854
}

Semantic roles & 50–950 ramp

primary
#ABAF4D
secondary
#9795C3
accent
#59CF5E
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #ABAF4D

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

Preview Lab → · Contrast checker → · Palette generator →

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