#ABAF30#ABAF30

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

Color values

HEX#ABAF30
RGBrgb(171, 175, 48)
HSLhsl(62, 57%, 44%)
HSVhsv(62, 73%, 69%)
CMYKcmyk(2.3%, 0%, 72.6%, 31.4%)
CIE-LABlab(69.14, -16.75, 60.62)
CIE-LCHlch(69.14, 62.90, 105.45°)
OKLaboklab(72.82% -0.0523 0.1341)
OKLCHoklch(72.82% 0.144 111.3)
XYZxyz(32.6591, 39.5321, 8.7058)
Luminance0.3953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAF30 #3430AF
analogous
#AF7330 #ABAF30 #6BAF30
triadic
#ABAF30 #30ABAF #AF30AB
tetradic
#ABAF30 #30AF73 #3430AF #AF306B
square
#ABAF30 #30AF73 #3430AF #AF306B
split-complementary
#ABAF30 #306BAF #7330AF
monochromatic
#4D4F16 #7C7F23 #ABAF30 #CACE4E #D9DC7E

Accessibility & contrast

On white

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

On black

8.91
#ABAF30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAF30
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAF30#FFFFFF#000000##000000
##ABAF301.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #abaf30;
/* rgb */ color: rgb(171, 175, 48);
/* oklch */ color: oklch(72.8% 0.144 111.3);
Tailwind
colors: {
  custom: {
    50: '#c7c672',
    500: '#abaf30',
    950: '#000000',
  },
}
SCSS
$custom: #abaf30;
$custom-light: #c7c672;
$custom-dark: #000000;
JSON
{
  "hex": "#abaf30",
  "rgb": {
    "r": 171,
    "g": 175,
    "b": 48
  },
  "hsl": {
    "h": 61.89,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.72817,
    "c": 0.14388,
    "h": 111.3
  },
  "luminance": 0.39531
}

Semantic roles & 50–950 ramp

primary
#ABAF30
secondary
#7976C4
accent
#48E04C
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ABAF30

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

Preview Lab → · Contrast checker → · Palette generator →

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