#ABB229#ABB229

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

Color values

HEX#ABB229
RGBrgb(171, 178, 41)
HSLhsl(63, 63%, 43%)
HSVhsv(63, 77%, 70%)
CMYKcmyk(3.9%, 0%, 77%, 30.2%)
CIE-LABlab(69.94, -18.58, 63.70)
CIE-LCHlch(69.94, 66.36, 106.26°)
OKLaboklab(73.45% -0.058 0.1393)
OKLCHoklch(73.45% 0.151 112.6)
XYZxyz(33.1163, 40.6596, 8.2010)
Luminance0.4066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB229 #3029B2
analogous
#B27529 #ABB229 #66B229
triadic
#ABB229 #29ABB2 #B229AB
tetradic
#ABB229 #29B275 #3029B2 #B22966
square
#ABB229 #29B275 #3029B2 #B22966
split-complementary
#ABB229 #2966B2 #7529B2
monochromatic
#4B4F12 #7B801E #ABB229 #CDD444 #DADF76

Accessibility & contrast

On white

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

On black

9.13
#ABB229 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB229
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB229#FFFFFF#000000##000000
##ABB2291.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #abb229;
/* rgb */ color: rgb(171, 178, 41);
/* oklch */ color: oklch(73.4% 0.151 112.6);
Tailwind
colors: {
  custom: {
    50: '#c8c86f',
    500: '#abb229',
    950: '#000000',
  },
}
SCSS
$custom: #abb229;
$custom-light: #c8c86f;
$custom-dark: #000000;
JSON
{
  "hex": "#abb229",
  "rgb": {
    "r": 171,
    "g": 178,
    "b": 41
  },
  "hsl": {
    "h": 63.066,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.73447,
    "c": 0.15091,
    "h": 112.6
  },
  "luminance": 0.40659
}

Semantic roles & 50–950 ramp

primary
#ABB229
secondary
#7470C7
accent
#42E64B
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #ABB229

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

Preview Lab → · Contrast checker → · Palette generator →

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