#ABBF38#ABBF38

#ABBF38 is a light, vivid yellow. Relative luminance 0.462; OKLCH L 76.5% C 0.157 H 117.6°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#ABBF38
RGBrgb(171, 191, 56)
HSLhsl(69, 55%, 48%)
HSVhsv(69, 71%, 75%)
CMYKcmyk(10.5%, 0%, 70.7%, 25.1%)
CIE-LABlab(73.68, -24.31, 62.17)
CIE-LCHlch(73.68, 66.75, 111.36°)
OKLaboklab(76.48% -0.0725 0.1387)
OKLCHoklch(76.48% 0.157 117.6)
XYZxyz(36.1400, 46.2054, 10.7553)
Luminance0.4621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABBF38 #4C38BF
analogous
#BF8F38 #ABBF38 #67BF38
triadic
#ABBF38 #38ABBF #BF38AB
tetradic
#ABBF38 #38BF8F #4C38BF #BF3867
square
#ABBF38 #38BF8F #4C38BF #BF3867
split-complementary
#ABBF38 #3867BF #8F38BF
monochromatic
#56601C #81902A #ABBF38 #C1D163 #D4DF92

Accessibility & contrast

On white

2.05
#ABBF38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.24
#ABBF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABBF38
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABBF38#FFFFFF#000000##000000
##ABBF381.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB521
Deuteranopia (green-blind)
#CAB643
Tritanopia (blue-blind)
#B5B4A5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #abbf38;
/* rgb */ color: rgb(171, 191, 56);
/* oklch */ color: oklch(76.5% 0.157 117.6);
Tailwind
colors: {
  custom: {
    50: '#c7d277',
    500: '#abbf38',
    950: '#000000',
  },
}
SCSS
$custom: #abbf38;
$custom-light: #c7d277;
$custom-dark: #000000;
JSON
{
  "hex": "#abbf38",
  "rgb": {
    "r": 171,
    "g": 191,
    "b": 56
  },
  "hsl": {
    "h": 68.889,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.76476,
    "c": 0.1565,
    "h": 117.6
  },
  "luminance": 0.46205
}

Semantic roles & 50–950 ramp

primary
#ABBF38
secondary
#9289CA
accent
#4ADE60
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#131409
muted
#82827B

Preview Lab

Preview with #ABBF38

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

Preview Lab → · Contrast checker → · Palette generator →

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