#ABAF25#ABAF25

#ABAF25 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 72.8% C 0.150 H 111.3°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#ABAF25
RGBrgb(171, 175, 37)
HSLhsl(62, 65%, 42%)
HSVhsv(62, 79%, 69%)
CMYKcmyk(2.3%, 0%, 78.9%, 31.4%)
CIE-LABlab(69.08, -17.22, 64.14)
CIE-LCHlch(69.08, 66.41, 105.03°)
OKLaboklab(72.75% -0.0545 0.1395)
OKLCHoklch(72.75% 0.15 111.3)
XYZxyz(32.4596, 39.4523, 7.6551)
Luminance0.3945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAF25 #2925AF
analogous
#AF6E25 #ABAF25 #66AF25
triadic
#ABAF25 #25ABAF #AF25AB
tetradic
#ABAF25 #25AF6E #2925AF #AF2566
square
#ABAF25 #25AF6E #2925AF #AF2566
split-complementary
#ABAF25 #2566AF #6E25AF
monochromatic
#484A10 #7A7C1A #ABAF25 #D1D63C #DDE06E

Accessibility & contrast

On white

2.36
#ABAF25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#ABAF25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAF25
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAF25#FFFFFF#000000##000000
##ABAF251.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#BEAA32
Tritanopia (blue-blind)
#B7A496
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #abaf25;
/* rgb */ color: rgb(171, 175, 37);
/* oklch */ color: oklch(72.8% 0.150 111.3);
Tailwind
colors: {
  custom: {
    50: '#c8c66c',
    500: '#abaf25',
    950: '#000000',
  },
}
SCSS
$custom: #abaf25;
$custom-light: #c8c66c;
$custom-dark: #000000;
JSON
{
  "hex": "#abaf25",
  "rgb": {
    "r": 171,
    "g": 175,
    "b": 37
  },
  "hsl": {
    "h": 61.739,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.72753,
    "c": 0.1498,
    "h": 111.3
  },
  "luminance": 0.39451
}

Semantic roles & 50–950 ramp

primary
#ABAF25
secondary
#6C69C7
accent
#40E845
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141308
muted
#82827A

Preview Lab

Preview with #ABAF25

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

Preview Lab → · Contrast checker → · Palette generator →

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