#ABB271#ABB271

#ABB271 is a light, moderate yellow. Relative luminance 0.417; OKLCH L 74.3% C 0.087 H 113.5°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#ABB271
RGBrgb(171, 178, 113)
HSLhsl(66, 30%, 57%)
HSVhsv(66, 37%, 70%)
CMYKcmyk(3.9%, 0%, 36.5%, 30.2%)
CIE-LABlab(70.66, -12.78, 32.43)
CIE-LCHlch(70.66, 34.86, 111.51°)
OKLaboklab(74.26% -0.0348 0.0798)
OKLCHoklch(74.26% 0.087 113.5)
XYZxyz(35.6958, 41.6914, 21.7864)
Luminance0.4169 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB271 #7871B2
analogous
#B29971 #ABB271 #8BB271
triadic
#ABB271 #71ABB2 #B271AB
tetradic
#ABB271 #71B299 #7871B2 #B2718B
square
#ABB271 #71B299 #7871B2 #B2718B
split-complementary
#ABB271 #718BB2 #9971B2
monochromatic
#686D3B #8E9551 #ABB271 #C2C899 #DADDC0

Accessibility & contrast

On white

2.25
#ABB271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#ABB271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB271
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB271#FFFFFF#000000##000000
##ABB2711.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBAC6C
Deuteranopia (green-blind)
#BBAE74
Tritanopia (blue-blind)
#B2ABA2
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #abb271;
/* rgb */ color: rgb(171, 178, 113);
/* oklch */ color: oklch(74.3% 0.087 113.5);
Tailwind
colors: {
  custom: {
    50: '#c5c99a',
    500: '#abb271',
    950: '#000000',
  },
}
SCSS
$custom: #abb271;
$custom-light: #c5c99a;
$custom-dark: #000000;
JSON
{
  "hex": "#abb271",
  "rgb": {
    "r": 171,
    "g": 178,
    "b": 113
  },
  "hsl": {
    "h": 66.462,
    "s": 29.68,
    "l": 57.059
  },
  "oklch": {
    "l": 0.74255,
    "c": 0.08701,
    "h": 113.5
  },
  "luminance": 0.41691
}

Semantic roles & 50–950 ramp

primary
#ABB271
secondary
#B5B2CD
accent
#62C66D
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13130E
muted
#82827E

Preview Lab

Preview with #ABB271

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

Preview Lab → · Contrast checker → · Palette generator →

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