#ABB231#ABB231

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

Color values

HEX#ABB231
RGBrgb(171, 178, 49)
HSLhsl(63, 57%, 45%)
HSVhsv(63, 72%, 70%)
CMYKcmyk(3.9%, 0%, 72.5%, 30.2%)
CIE-LABlab(69.98, -18.23, 61.08)
CIE-LCHlch(69.98, 63.74, 106.61°)
OKLaboklab(73.5% -0.0563 0.1352)
OKLCHoklch(73.5% 0.146 112.6)
XYZxyz(33.2704, 40.7212, 9.0125)
Luminance0.4072 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB231 #3831B2
analogous
#B27931 #ABB231 #6BB231
triadic
#ABB231 #31ABB2 #B231AB
tetradic
#ABB231 #31B279 #3831B2 #B2316B
square
#ABB231 #31B279 #3831B2 #B2316B
split-complementary
#ABB231 #316BB2 #7931B2
monochromatic
#4F5217 #7D8224 #ABB231 #C8CF51 #D7DC81

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABB231#FFFFFF#000000##000000
##ABB2311.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)
#C0AA18
Deuteranopia (green-blind)
#C0AC3B
Tritanopia (blue-blind)
#B7A799
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #abb231;
/* rgb */ color: rgb(171, 178, 49);
/* oklch */ color: oklch(73.5% 0.146 112.6);
Tailwind
colors: {
  custom: {
    50: '#c7c872',
    500: '#abb231',
    950: '#000000',
  },
}
SCSS
$custom: #abb231;
$custom-light: #c7c872;
$custom-dark: #000000;
JSON
{
  "hex": "#abb231",
  "rgb": {
    "r": 171,
    "g": 178,
    "b": 49
  },
  "hsl": {
    "h": 63.256,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.73495,
    "c": 0.14645,
    "h": 112.6
  },
  "luminance": 0.4072
}

Semantic roles & 50–950 ramp

primary
#ABB231
secondary
#7D79C5
accent
#48E050
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #ABB231

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

Preview Lab → · Contrast checker → · Palette generator →

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