#ABAF3C#ABAF3C

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

Color values

HEX#ABAF3C
RGBrgb(171, 175, 60)
HSLhsl(62, 49%, 46%)
HSVhsv(62, 66%, 69%)
CMYKcmyk(2.3%, 0%, 65.7%, 31.4%)
CIE-LABlab(69.22, -16.10, 56.12)
CIE-LCHlch(69.22, 58.38, 106.01°)
OKLaboklab(72.91% -0.0492 0.1266)
OKLCHoklch(72.91% 0.136 111.3)
XYZxyz(32.9412, 39.6449, 10.1911)
Luminance0.3964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAF3C #403CAF
analogous
#AF793C #ABAF3C #71AF3C
triadic
#ABAF3C #3CABAF #AF3CAB
tetradic
#ABAF3C #3CAF79 #403CAF #AF3C71
square
#ABAF3C #3CAF79 #403CAF #AF3C71
split-complementary
#ABAF3C #3C71AF #793CAF
monochromatic
#52541D #7E812C #ABAF3C #C5C860 #D5D88D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABAF3C#FFFFFF#000000##000000
##ABAF3C1.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)
#BCA72C
Deuteranopia (green-blind)
#BDAA44
Tritanopia (blue-blind)
#B6A598
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #abaf3c;
/* rgb */ color: rgb(171, 175, 60);
/* oklch */ color: oklch(72.9% 0.136 111.3);
Tailwind
colors: {
  custom: {
    50: '#c7c678',
    500: '#abaf3c',
    950: '#000000',
  },
}
SCSS
$custom: #abaf3c;
$custom-light: #c7c678;
$custom-dark: #000000;
JSON
{
  "hex": "#abaf3c",
  "rgb": {
    "r": 171,
    "g": 175,
    "b": 60
  },
  "hsl": {
    "h": 62.087,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.72908,
    "c": 0.13582,
    "h": 111.3
  },
  "luminance": 0.39644
}

Semantic roles & 50–950 ramp

primary
#ABAF3C
secondary
#8684C3
accent
#4FD854
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#131309
muted
#82827B

Preview Lab

Preview with #ABAF3C

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

Preview Lab → · Contrast checker → · Palette generator →

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