#ABB248#ABB248

#ABB248 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 73.7% C 0.130 H 112.7°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#ABB248
RGBrgb(171, 178, 72)
HSLhsl(64, 42%, 49%)
HSVhsv(64, 60%, 70%)
CMYKcmyk(3.9%, 0%, 59.6%, 30.2%)
CIE-LABlab(70.15, -16.81, 51.98)
CIE-LCHlch(70.15, 54.63, 107.92°)
OKLaboklab(73.69% -0.05 0.1196)
OKLCHoklch(73.69% 0.13 112.7)
XYZxyz(33.8855, 40.9673, 12.2521)
Luminance0.4097 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB248 #4F48B2
analogous
#B28448 #ABB248 #76B248
triadic
#ABB248 #48ABB2 #B248AB
tetradic
#ABB248 #48B284 #4F48B2 #B24876
square
#ABB248 #48B284 #4F48B2 #B24876
split-complementary
#ABB248 #4876B2 #8448B2
monochromatic
#575B25 #818636 #ABB248 #C0C671 #D4D79D

Accessibility & contrast

On white

2.28
#ABB248 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#ABB248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB248
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB248#FFFFFF#000000##000000
##ABB2481.002.289.199.19
#FFFFFF2.281.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA3C
Deuteranopia (green-blind)
#BFAD4E
Tritanopia (blue-blind)
#B6A89B
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #abb248;
/* rgb */ color: rgb(171, 178, 72);
/* oklch */ color: oklch(73.7% 0.130 112.7);
Tailwind
colors: {
  custom: {
    50: '#c6c87f',
    500: '#abb248',
    950: '#000000',
  },
}
SCSS
$custom: #abb248;
$custom-light: #c6c87f;
$custom-dark: #000000;
JSON
{
  "hex": "#abb248",
  "rgb": {
    "r": 171,
    "g": 178,
    "b": 72
  },
  "hsl": {
    "h": 63.962,
    "s": 42.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.73689,
    "c": 0.12958,
    "h": 112.7
  },
  "luminance": 0.40967
}

Semantic roles & 50–950 ramp

primary
#ABB248
secondary
#9592C4
accent
#56D25E
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130A
muted
#82827C

Preview Lab

Preview with #ABB248

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

Preview Lab → · Contrast checker → · Palette generator →

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