#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 |
|---|---|
| RGB | rgb(171, 178, 113) |
| HSL | hsl(66, 30%, 57%) |
| HSV | hsv(66, 37%, 70%) |
| CMYK | cmyk(3.9%, 0%, 36.5%, 30.2%) |
| CIE-LAB | lab(70.66, -12.78, 32.43) |
| CIE-LCH | lch(70.66, 34.86, 111.51°) |
| OKLab | oklab(74.26% -0.0348 0.0798) |
| OKLCH | oklch(74.26% 0.087 113.5) |
| XYZ | xyz(35.6958, 41.6914, 21.7864) |
| Luminance | 0.4169 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.50
Tan Green
#A9BE70
ΔE00 4.55
Darkkhaki
#BDB76B
ΔE00 4.92
Light Olive
#ACBF69
ΔE00 5.07
Light Olive Green
#A4BE5C
ΔE00 6.67
Greenish Tan
#BCCB7A
ΔE00 6.82
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 |
|---|---|---|---|---|
| ##ABB271 | 1.00 | 2.25 | 9.34 | 9.34 |
| #FFFFFF | 2.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.34 | 21.00 | 1.00 | 1.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