#ABB162#ABB162
#ABB162 is a light, moderate yellow. Relative luminance 0.410; OKLCH L 73.8% C 0.103 H 112.5°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).
Color values
| HEX | #ABB162 |
|---|---|
| RGB | rgb(171, 177, 98) |
| HSL | hsl(65, 34%, 54%) |
| HSV | hsv(65, 45%, 69%) |
| CMYK | cmyk(3.4%, 0%, 44.6%, 30.6%) |
| CIE-LAB | lab(70.17, -13.97, 39.54) |
| CIE-LCH | lch(70.17, 41.94, 109.46°) |
| OKLab | oklab(73.79% -0.0393 0.0951) |
| OKLCH | oklch(73.79% 0.103 112.5) |
| XYZ | xyz(34.7218, 40.9846, 17.6346) |
| Luminance | 0.4098 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.12
Darkkhaki
#BDB76B
ΔE00 4.14
Light Olive
#ACBF69
ΔE00 4.49
Tan Green
#A9BE70
ΔE00 4.85
Light Olive Green
#A4BE5C
ΔE00 5.56
Booger
#9BB53C
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ABB162 #6862B1
analogous
#B19062 #ABB162 #84B162
triadic
#ABB162 #62ABB1 #B162AB
tetradic
#ABB162 #62B190 #6862B1 #B16284
square
#ABB162 #62B190 #6862B1 #B16284
split-complementary
#ABB162 #6284B1 #9062B1
monochromatic
#626633 #898F47 #ABB162 #C1C58B #D7DAB4
Accessibility & contrast
On white
2.28
#ABB162 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.20
#ABB162 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ABB162
9.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ABB162 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ABB162 | 1.00 | 2.28 | 9.20 | 9.20 |
| #FFFFFF | 2.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBAA5B
Deuteranopia (green-blind)
#BCAD66
Tritanopia (blue-blind)
#B4A99E
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #abb162; /* rgb */ color: rgb(171, 177, 98); /* oklch */ color: oklch(73.8% 0.103 112.5);
Tailwind
colors: {
custom: {
50: '#c5c890',
500: '#abb162',
950: '#000000',
},
}SCSS
$custom: #abb162; $custom-light: #c5c890; $custom-dark: #000000;
JSON
{
"hex": "#abb162",
"rgb": {
"r": 171,
"g": 177,
"b": 98
},
"hsl": {
"h": 64.557,
"s": 33.617,
"l": 53.922
},
"oklch": {
"l": 0.73792,
"c": 0.10288,
"h": 112.5
},
"luminance": 0.40984
}Semantic roles & 50–950 ramp
primary
#ABB162
secondary
#A9A7C8
accent
#5ECA66
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13130D
muted
#82827D