#ABB138#ABB138

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

Color values

HEX#ABB138
RGBrgb(171, 177, 56)
HSLhsl(63, 52%, 46%)
HSVhsv(63, 68%, 69%)
CMYKcmyk(3.4%, 0%, 68.4%, 30.6%)
CIE-LABlab(69.75, -17.35, 58.25)
CIE-LCHlch(69.75, 60.78, 106.59°)
OKLaboklab(73.32% -0.0532 0.1304)
OKLCHoklch(73.32% 0.141 112.2)
XYZxyz(33.2315, 40.3885, 9.7858)
Luminance0.4039 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB138 #3E38B1
analogous
#B17A38 #ABB138 #6EB138
triadic
#ABB138 #38ABB1 #B138AB
tetradic
#ABB138 #38B17A #3E38B1 #B1386E
square
#ABB138 #38B17A #3E38B1 #B1386E
split-complementary
#ABB138 #386EB1 #7A38B1
monochromatic
#51541B #7E8329 #ABB138 #C6CB5B #D6DA8A

Accessibility & contrast

On white

2.31
#ABB138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#ABB138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB138
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB138#FFFFFF#000000##000000
##ABB1381.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA925
Deuteranopia (green-blind)
#BFAC41
Tritanopia (blue-blind)
#B6A699
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #abb138;
/* rgb */ color: rgb(171, 177, 56);
/* oklch */ color: oklch(73.3% 0.141 112.2);
Tailwind
colors: {
  custom: {
    50: '#c7c876',
    500: '#abb138',
    950: '#000000',
  },
}
SCSS
$custom: #abb138;
$custom-light: #c7c876;
$custom-dark: #000000;
JSON
{
  "hex": "#abb138",
  "rgb": {
    "r": 171,
    "g": 177,
    "b": 56
  },
  "hsl": {
    "h": 62.975,
    "s": 51.931,
    "l": 45.686
  },
  "oklch": {
    "l": 0.73322,
    "c": 0.14085,
    "h": 112.2
  },
  "luminance": 0.40388
}

Semantic roles & 50–950 ramp

primary
#ABB138
secondary
#8481C4
accent
#4CDB54
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #ABB138

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

Preview Lab → · Contrast checker → · Palette generator →

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