#ABAF4E#ABAF4E

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

Color values

HEX#ABAF4E
RGBrgb(171, 175, 78)
HSLhsl(62, 38%, 50%)
HSVhsv(62, 55%, 69%)
CMYKcmyk(2.3%, 0%, 55.4%, 31.4%)
CIE-LABlab(69.38, -14.81, 48.37)
CIE-LCHlch(69.38, 50.59, 107.02°)
OKLaboklab(73.09% -0.0437 0.1126)
OKLCHoklch(73.09% 0.121 111.2)
XYZxyz(33.5005, 39.8687, 13.1369)
Luminance0.3987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAF4E #524EAF
analogous
#AF834E #ABAF4E #7BAF4E
triadic
#ABAF4E #4EABAF #AF4EAB
tetradic
#ABAF4E #4EAF83 #524EAF #AF4E7B
square
#ABAF4E #4EAF83 #524EAF #AF4E7B
split-complementary
#ABAF4E #4E7BAF #834EAF
monochromatic
#585A28 #82853B #ABAF4E #C0C378 #D3D6A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABAF4E#FFFFFF#000000##000000
##ABAF4E1.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)
#BBA844
Deuteranopia (green-blind)
#BCAB53
Tritanopia (blue-blind)
#B5A59A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #abaf4e;
/* rgb */ color: rgb(171, 175, 78);
/* oklch */ color: oklch(73.1% 0.121 111.2);
Tailwind
colors: {
  custom: {
    50: '#c6c683',
    500: '#abaf4e',
    950: '#000000',
  },
}
SCSS
$custom: #abaf4e;
$custom-light: #c6c683;
$custom-dark: #000000;
JSON
{
  "hex": "#abaf4e",
  "rgb": {
    "r": 171,
    "g": 175,
    "b": 78
  },
  "hsl": {
    "h": 62.474,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.73087,
    "c": 0.12075,
    "h": 111.2
  },
  "luminance": 0.39868
}

Semantic roles & 50–950 ramp

primary
#ABAF4E
secondary
#9896C3
accent
#5ACE5E
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #ABAF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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