#ABAF4C#ABAF4C

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

Color values

HEX#ABAF4C
RGBrgb(171, 175, 76)
HSLhsl(62, 39%, 49%)
HSVhsv(62, 57%, 69%)
CMYKcmyk(2.3%, 0%, 56.6%, 31.4%)
CIE-LABlab(69.36, -14.97, 49.28)
CIE-LCHlch(69.36, 51.50, 106.90°)
OKLaboklab(73.06% -0.0443 0.1143)
OKLCHoklch(73.06% 0.123 111.2)
XYZxyz(33.4299, 39.8404, 12.7650)
Luminance0.3984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAF4C #504CAF
analogous
#AF824C #ABAF4C #7AAF4C
triadic
#ABAF4C #4CABAF #AF4CAB
tetradic
#ABAF4C #4CAF82 #504CAF #AF4C7A
square
#ABAF4C #4CAF82 #504CAF #AF4C7A
split-complementary
#ABAF4C #4C7AAF #824CAF
monochromatic
#585A27 #818439 #ABAF4C #C0C375 #D3D6A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABAF4C#FFFFFF#000000##000000
##ABAF4C1.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)
#BBA842
Deuteranopia (green-blind)
#BCAB52
Tritanopia (blue-blind)
#B6A599
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #abaf4c;
/* rgb */ color: rgb(171, 175, 76);
/* oklch */ color: oklch(73.1% 0.123 111.2);
Tailwind
colors: {
  custom: {
    50: '#c6c682',
    500: '#abaf4c',
    950: '#000000',
  },
}
SCSS
$custom: #abaf4c;
$custom-light: #c6c682;
$custom-dark: #000000;
JSON
{
  "hex": "#abaf4c",
  "rgb": {
    "r": 171,
    "g": 175,
    "b": 76
  },
  "hsl": {
    "h": 62.424,
    "s": 39.442,
    "l": 49.216
  },
  "oklch": {
    "l": 0.73064,
    "c": 0.1226,
    "h": 111.2
  },
  "luminance": 0.3984
}

Semantic roles & 50–950 ramp

primary
#ABAF4C
secondary
#9694C2
accent
#58CF5D
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #ABAF4C

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

Preview Lab → · Contrast checker → · Palette generator →

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