#ABAF3F#ABAF3F

#ABAF3F is a light, vivid yellow. Relative luminance 0.397; OKLCH L 72.9% C 0.134 H 111.2°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#ABAF3F
RGBrgb(171, 175, 63)
HSLhsl(62, 47%, 47%)
HSVhsv(62, 64%, 69%)
CMYKcmyk(2.3%, 0%, 64%, 31.4%)
CIE-LABlab(69.24, -15.91, 54.90)
CIE-LCHlch(69.24, 57.16, 106.16°)
OKLaboklab(72.93% -0.0484 0.1245)
OKLCHoklch(72.93% 0.134 111.2)
XYZxyz(33.0227, 39.6775, 10.6206)
Luminance0.3968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAF3F #433FAF
analogous
#AF7B3F #ABAF3F #73AF3F
triadic
#ABAF3F #3FABAF #AF3FAB
tetradic
#ABAF3F #3FAF7B #433FAF #AF3F73
square
#ABAF3F #3FAF7B #433FAF #AF3F73
split-complementary
#ABAF3F #3F73AF #7B3FAF
monochromatic
#53551F #7F822F #ABAF3F #C4C764 #D5D791

Accessibility & contrast

On white

2.35
#ABAF3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#ABAF3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAF3F
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAF3F#FFFFFF#000000##000000
##ABAF3F1.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA730
Deuteranopia (green-blind)
#BDAB46
Tritanopia (blue-blind)
#B6A598
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #abaf3f;
/* rgb */ color: rgb(171, 175, 63);
/* oklch */ color: oklch(72.9% 0.134 111.2);
Tailwind
colors: {
  custom: {
    50: '#c7c67a',
    500: '#abaf3f',
    950: '#000000',
  },
}
SCSS
$custom: #abaf3f;
$custom-light: #c7c67a;
$custom-dark: #000000;
JSON
{
  "hex": "#abaf3f",
  "rgb": {
    "r": 171,
    "g": 175,
    "b": 63
  },
  "hsl": {
    "h": 62.143,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.72934,
    "c": 0.13355,
    "h": 111.2
  },
  "luminance": 0.39677
}

Semantic roles & 50–950 ramp

primary
#ABAF3F
secondary
#8987C3
accent
#51D756
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#131309
muted
#82827B

Preview Lab

Preview with #ABAF3F

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

Preview Lab → · Contrast checker → · Palette generator →

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