#ABB22F#ABB22F

#ABB22F is a light, vivid yellow. Relative luminance 0.407; OKLCH L 73.5% C 0.148 H 112.6°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#ABB22F
RGBrgb(171, 178, 47)
HSLhsl(63, 58%, 44%)
HSVhsv(63, 74%, 70%)
CMYKcmyk(3.9%, 0%, 73.6%, 30.2%)
CIE-LABlab(69.97, -18.32, 61.77)
CIE-LCHlch(69.97, 64.43, 106.52°)
OKLaboklab(73.48% -0.0567 0.1363)
OKLCHoklch(73.48% 0.148 112.6)
XYZxyz(33.2291, 40.7047, 8.7951)
Luminance0.4070 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB22F #362FB2
analogous
#B2782F #ABB22F #6AB22F
triadic
#ABB22F #2FABB2 #B22FAB
tetradic
#ABB22F #2FB278 #362FB2 #B22F6A
square
#ABB22F #2FB278 #362FB2 #B22F6A
split-complementary
#ABB22F #2F6AB2 #782FB2
monochromatic
#4E5115 #7C8222 #ABB22F #C9D04E #D8DD7E

Accessibility & contrast

On white

2.30
#ABB22F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#ABB22F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB22F
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB22F#FFFFFF#000000##000000
##ABB22F1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA14
Deuteranopia (green-blind)
#C0AC3A
Tritanopia (blue-blind)
#B7A799
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #abb22f;
/* rgb */ color: rgb(171, 178, 47);
/* oklch */ color: oklch(73.5% 0.148 112.6);
Tailwind
colors: {
  custom: {
    50: '#c7c871',
    500: '#abb22f',
    950: '#000000',
  },
}
SCSS
$custom: #abb22f;
$custom-light: #c7c871;
$custom-dark: #000000;
JSON
{
  "hex": "#abb22f",
  "rgb": {
    "r": 171,
    "g": 178,
    "b": 47
  },
  "hsl": {
    "h": 63.206,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.73482,
    "c": 0.14762,
    "h": 112.6
  },
  "luminance": 0.40704
}

Semantic roles & 50–950 ramp

primary
#ABB22F
secondary
#7B77C6
accent
#46E14F
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ABB22F

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

Preview Lab → · Contrast checker → · Palette generator →

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