#A7BB1F#A7BB1F
#A7BB1F is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.1% C 0.166 H 117.4°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #A7BB1F |
|---|---|
| RGB | rgb(167, 187, 31) |
| HSL | hsl(68, 72%, 43%) |
| HSV | hsv(68, 83%, 73%) |
| CMYK | cmyk(10.7%, 0%, 83.4%, 26.7%) |
| CIE-LAB | lab(72.13, -25.10, 68.28) |
| CIE-LCH | lch(72.13, 72.75, 110.18°) |
| OKLab | oklab(75.12% -0.0764 0.1475) |
| OKLCH | oklch(75.12% 0.166 117.4) |
| XYZ | xyz(33.9549, 43.8555, 7.9723) |
| Luminance | 0.4385 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.59
Snot
#ACBB0D
ΔE00 1.61
Gross Green
#A0BF16
ΔE00 2.17
Bright Olive
#9CBB04
ΔE00 2.18
Mustard Green
#A8B504
ΔE00 2.32
Sick Green
#9DB92C
ΔE00 2.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7BB1F #331FBB
analogous
#BB811F #A7BB1F #59BB1F
triadic
#A7BB1F #1FA7BB #BB1FA7
tetradic
#A7BB1F #1FBB81 #331FBB #BB1F59
square
#A7BB1F #1FBB81 #331FBB #BB1F59
split-complementary
#A7BB1F #1F59BB #811FBB
monochromatic
#49520E #788716 #A7BB1F #C9DE39 #D7E76E
Accessibility & contrast
On white
2.15
#A7BB1F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.77
#A7BB1F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7BB1F
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7BB1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7BB1F | 1.00 | 2.15 | 9.77 | 9.77 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B000
Deuteranopia (green-blind)
#C6B230
Tritanopia (blue-blind)
#B2B0A0
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #a7bb1f; /* rgb */ color: rgb(167, 187, 31); /* oklch */ color: oklch(75.1% 0.166 117.4);
Tailwind
colors: {
custom: {
50: '#c5cf6c',
500: '#a7bb1f',
950: '#000000',
},
}SCSS
$custom: #a7bb1f; $custom-light: #c5cf6c; $custom-dark: #000000;
JSON
{
"hex": "#a7bb1f",
"rgb": {
"r": 167,
"g": 187,
"b": 31
},
"hsl": {
"h": 67.692,
"s": 71.56,
"l": 42.745
},
"oklch": {
"l": 0.7512,
"c": 0.16618,
"h": 117.4
},
"luminance": 0.43855
}Semantic roles & 50–950 ramp
primary
#A7BB1F
secondary
#7669CD
accent
#3AEE51
background
#FCFCF6
surface
#F9F9EC
border
#D2D2C7
text
#131308
muted
#82827A