#ABBB2E#ABBB2E

#ABBB2E is a light, vivid yellow. Relative luminance 0.444; OKLCH L 75.5% C 0.158 H 116.1°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#ABBB2E
RGBrgb(171, 187, 46)
HSLhsl(67, 61%, 46%)
HSVhsv(67, 75%, 73%)
CMYKcmyk(8.6%, 0%, 75.4%, 26.7%)
CIE-LABlab(72.49, -22.85, 64.47)
CIE-LCHlch(72.49, 68.40, 109.52°)
OKLaboklab(75.51% -0.0694 0.1418)
OKLCHoklch(75.51% 0.158 116.1)
XYZxyz(35.0590, 44.3964, 9.3067)
Luminance0.4440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABBB2E #3E2EBB
analogous
#BB852E #ABBB2E #64BB2E
triadic
#ABBB2E #2EABBB #BB2EAB
tetradic
#ABBB2E #2EBB85 #3E2EBB #BB2E64
square
#ABBB2E #2EBB85 #3E2EBB #BB2E64
split-complementary
#ABBB2E #2E64BB #852EBB
monochromatic
#515916 #7E8A22 #ABBB2E #C6D452 #D6E083

Accessibility & contrast

On white

2.13
#ABBB2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.88
#ABBB2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABBB2E
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABBB2E#FFFFFF#000000##000000
##ABBB2E1.002.139.889.88
#FFFFFF2.131.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B10B
Deuteranopia (green-blind)
#C7B33A
Tritanopia (blue-blind)
#B6B0A0
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #abbb2e;
/* rgb */ color: rgb(171, 187, 46);
/* oklch */ color: oklch(75.5% 0.158 116.1);
Tailwind
colors: {
  custom: {
    50: '#c8cf72',
    500: '#abbb2e',
    950: '#000000',
  },
}
SCSS
$custom: #abbb2e;
$custom-light: #c8cf72;
$custom-dark: #000000;
JSON
{
  "hex": "#abbb2e",
  "rgb": {
    "r": 171,
    "g": 187,
    "b": 46
  },
  "hsl": {
    "h": 66.809,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.75505,
    "c": 0.15789,
    "h": 116.1
  },
  "luminance": 0.44396
}

Semantic roles & 50–950 ramp

primary
#ABBB2E
secondary
#847BCA
accent
#44E456
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141309
muted
#82827B

Preview Lab

Preview with #ABBB2E

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

Preview Lab → · Contrast checker → · Palette generator →

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