#ABAF3E#ABAF3E

#ABAF3E 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.93:1 contrast (WCAG AA passes).

Color values

HEX#ABAF3E
RGBrgb(171, 175, 62)
HSLhsl(62, 48%, 46%)
HSVhsv(62, 65%, 69%)
CMYKcmyk(2.3%, 0%, 64.6%, 31.4%)
CIE-LABlab(69.23, -15.97, 55.31)
CIE-LCHlch(69.23, 57.57, 106.11°)
OKLaboklab(72.93% -0.0487 0.1252)
OKLCHoklch(72.93% 0.134 111.2)
XYZxyz(32.9950, 39.6665, 10.4748)
Luminance0.3967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAF3E #423EAF
analogous
#AF7B3E #ABAF3E #73AF3E
triadic
#ABAF3E #3EABAF #AF3EAB
tetradic
#ABAF3E #3EAF7B #423EAF #AF3E73
square
#ABAF3E #3EAF7B #423EAF #AF3E73
split-complementary
#ABAF3E #3E73AF #7B3EAF
monochromatic
#53551E #7F822E #ABAF3E #C4C863 #D5D890

Accessibility & contrast

On white

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

On black

8.93
#ABAF3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAF3E
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAF3E#FFFFFF#000000##000000
##ABAF3E1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #abaf3e;
/* rgb */ color: rgb(171, 175, 62);
/* oklch */ color: oklch(72.9% 0.134 111.2);
Tailwind
colors: {
  custom: {
    50: '#c7c679',
    500: '#abaf3e',
    950: '#000000',
  },
}
SCSS
$custom: #abaf3e;
$custom-light: #c7c679;
$custom-dark: #000000;
JSON
{
  "hex": "#abaf3e",
  "rgb": {
    "r": 171,
    "g": 175,
    "b": 62
  },
  "hsl": {
    "h": 62.124,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.72925,
    "c": 0.13432,
    "h": 111.2
  },
  "luminance": 0.39666
}

Semantic roles & 50–950 ramp

primary
#ABAF3E
secondary
#8886C3
accent
#51D755
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#131309
muted
#82827B

Preview Lab

Preview with #ABAF3E

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

Preview Lab → · Contrast checker → · Palette generator →

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