#ABAF3D#ABAF3D

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

Color values

HEX#ABAF3D
RGBrgb(171, 175, 61)
HSLhsl(62, 48%, 46%)
HSVhsv(62, 65%, 69%)
CMYKcmyk(2.3%, 0%, 65.1%, 31.4%)
CIE-LABlab(69.22, -16.04, 55.72)
CIE-LCHlch(69.22, 57.98, 106.06°)
OKLaboklab(72.92% -0.049 0.1259)
OKLCHoklch(72.92% 0.135 111.3)
XYZxyz(32.9678, 39.6556, 10.3316)
Luminance0.3966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAF3D #413DAF
analogous
#AF7A3D #ABAF3D #72AF3D
triadic
#ABAF3D #3DABAF #AF3DAB
tetradic
#ABAF3D #3DAF7A #413DAF #AF3D72
square
#ABAF3D #3DAF7A #413DAF #AF3D72
split-complementary
#ABAF3D #3D72AF #7A3DAF
monochromatic
#52541D #7F822D #ABAF3D #C4C861 #D5D88F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABAF3D#FFFFFF#000000##000000
##ABAF3D1.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)
#BCA72E
Deuteranopia (green-blind)
#BDAA45
Tritanopia (blue-blind)
#B6A598
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #abaf3d;
/* rgb */ color: rgb(171, 175, 61);
/* oklch */ color: oklch(72.9% 0.135 111.3);
Tailwind
colors: {
  custom: {
    50: '#c7c678',
    500: '#abaf3d',
    950: '#000000',
  },
}
SCSS
$custom: #abaf3d;
$custom-light: #c7c678;
$custom-dark: #000000;
JSON
{
  "hex": "#abaf3d",
  "rgb": {
    "r": 171,
    "g": 175,
    "b": 61
  },
  "hsl": {
    "h": 62.105,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.72916,
    "c": 0.13508,
    "h": 111.3
  },
  "luminance": 0.39655
}

Semantic roles & 50–950 ramp

primary
#ABAF3D
secondary
#8785C3
accent
#50D855
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#131309
muted
#82827B

Preview Lab

Preview with #ABAF3D

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

Preview Lab → · Contrast checker → · Palette generator →

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