#ABB12F#ABB12F

#ABB12F is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.3% C 0.147 H 112.2°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#ABB12F
RGBrgb(171, 177, 47)
HSLhsl(63, 58%, 44%)
HSVhsv(63, 73%, 69%)
CMYKcmyk(3.4%, 0%, 73.4%, 30.6%)
CIE-LABlab(69.69, -17.82, 61.50)
CIE-LCHlch(69.69, 64.03, 106.16°)
OKLaboklab(73.26% -0.0553 0.1357)
OKLCHoklch(73.26% 0.147 112.2)
XYZxyz(33.0309, 40.3082, 8.7291)
Luminance0.4031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB12F #352FB1
analogous
#B1762F #ABB12F #6AB12F
triadic
#ABB12F #2FABB1 #B12FAB
tetradic
#ABB12F #2FB176 #352FB1 #B12F6A
square
#ABB12F #2FB176 #352FB1 #B12F6A
split-complementary
#ABB12F #2F6AB1 #762FB1
monochromatic
#4E5015 #7C8122 #ABB12F #CAD04D #D8DD7E

Accessibility & contrast

On white

2.32
#ABB12F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#ABB12F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB12F
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB12F#FFFFFF#000000##000000
##ABB12F1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA914
Deuteranopia (green-blind)
#BFAC39
Tritanopia (blue-blind)
#B7A698
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #abb12f;
/* rgb */ color: rgb(171, 177, 47);
/* oklch */ color: oklch(73.3% 0.147 112.2);
Tailwind
colors: {
  custom: {
    50: '#c7c871',
    500: '#abb12f',
    950: '#000000',
  },
}
SCSS
$custom: #abb12f;
$custom-light: #c7c871;
$custom-dark: #000000;
JSON
{
  "hex": "#abb12f",
  "rgb": {
    "r": 171,
    "g": 177,
    "b": 47
  },
  "hsl": {
    "h": 62.769,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.73258,
    "c": 0.14657,
    "h": 112.2
  },
  "luminance": 0.40307
}

Semantic roles & 50–950 ramp

primary
#ABB12F
secondary
#7A76C5
accent
#47E14E
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ABB12F

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

Preview Lab → · Contrast checker → · Palette generator →

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