#ABAF37#ABAF37

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

Color values

HEX#ABAF37
RGBrgb(171, 175, 55)
HSLhsl(62, 52%, 45%)
HSVhsv(62, 69%, 69%)
CMYKcmyk(2.3%, 0%, 68.6%, 31.4%)
CIE-LABlab(69.18, -16.39, 58.07)
CIE-LCHlch(69.18, 60.34, 105.76°)
OKLaboklab(72.87% -0.0506 0.1299)
OKLCHoklch(72.87% 0.139 111.3)
XYZxyz(32.8152, 39.5945, 9.5276)
Luminance0.3959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAF37 #3B37AF
analogous
#AF7737 #ABAF37 #6FAF37
triadic
#ABAF37 #37ABAF #AF37AB
tetradic
#ABAF37 #37AF77 #3B37AF #AF376F
square
#ABAF37 #37AF77 #3B37AF #AF376F
split-complementary
#ABAF37 #376FAF #7737AF
monochromatic
#50521A #7D8028 #ABAF37 #C7CB59 #D7D987

Accessibility & contrast

On white

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

On black

8.92
#ABAF37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAF37
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAF37#FFFFFF#000000##000000
##ABAF371.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA724
Deuteranopia (green-blind)
#BDAA40
Tritanopia (blue-blind)
#B7A497
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #abaf37;
/* rgb */ color: rgb(171, 175, 55);
/* oklch */ color: oklch(72.9% 0.139 111.3);
Tailwind
colors: {
  custom: {
    50: '#c7c675',
    500: '#abaf37',
    950: '#000000',
  },
}
SCSS
$custom: #abaf37;
$custom-light: #c7c675;
$custom-dark: #000000;
JSON
{
  "hex": "#abaf37",
  "rgb": {
    "r": 171,
    "g": 175,
    "b": 55
  },
  "hsl": {
    "h": 62,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.72867,
    "c": 0.13938,
    "h": 111.3
  },
  "luminance": 0.39594
}

Semantic roles & 50–950 ramp

primary
#ABAF37
secondary
#817FC3
accent
#4CDC51
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #ABAF37

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

Preview Lab → · Contrast checker → · Palette generator →

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