#ABB02F#ABB02F

#ABB02F is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.0% C 0.146 H 111.7°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#ABB02F
RGBrgb(171, 176, 47)
HSLhsl(62, 58%, 44%)
HSVhsv(62, 73%, 69%)
CMYKcmyk(2.8%, 0%, 73.3%, 31%)
CIE-LABlab(69.41, -17.31, 61.23)
CIE-LCHlch(69.41, 63.63, 105.78°)
OKLaboklab(73.03% -0.0539 0.1352)
OKLCHoklch(73.03% 0.146 111.7)
XYZxyz(32.8341, 39.9147, 8.6635)
Luminance0.3991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB02F #342FB0
analogous
#B0742F #ABB02F #6AB02F
triadic
#ABB02F #2FABB0 #B02FAB
tetradic
#ABB02F #2FB074 #342FB0 #B02F6A
square
#ABB02F #2FB074 #342FB0 #B02F6A
split-complementary
#ABB02F #2F6AB0 #742FB0
monochromatic
#4D4F15 #7C8022 #ABB02F #CACF4D #D9DC7D

Accessibility & contrast

On white

2.34
#ABB02F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#ABB02F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB02F
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB02F#FFFFFF#000000##000000
##ABB02F1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA815
Deuteranopia (green-blind)
#BEAB39
Tritanopia (blue-blind)
#B7A597
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #abb02f;
/* rgb */ color: rgb(171, 176, 47);
/* oklch */ color: oklch(73.0% 0.146 111.7);
Tailwind
colors: {
  custom: {
    50: '#c7c771',
    500: '#abb02f',
    950: '#000000',
  },
}
SCSS
$custom: #abb02f;
$custom-light: #c7c771;
$custom-dark: #000000;
JSON
{
  "hex": "#abb02f",
  "rgb": {
    "r": 171,
    "g": 176,
    "b": 47
  },
  "hsl": {
    "h": 62.326,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.73034,
    "c": 0.14552,
    "h": 111.7
  },
  "luminance": 0.39914
}

Semantic roles & 50–950 ramp

primary
#ABB02F
secondary
#7976C5
accent
#47E14D
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ABB02F

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

Preview Lab → · Contrast checker → · Palette generator →

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