#A7BC2B#A7BC2B
#A7BC2B is a light, vivid yellow. Relative luminance 0.444; OKLCH L 75.4% C 0.162 H 117.9°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #A7BC2B |
|---|---|
| RGB | rgb(167, 188, 43) |
| HSL | hsl(69, 63%, 45%) |
| HSV | hsv(69, 77%, 74%) |
| CMYK | cmyk(11.2%, 0%, 77.1%, 26.3%) |
| CIE-LAB | lab(72.47, -25.15, 65.29) |
| CIE-LCH | lch(72.47, 69.96, 111.07°) |
| OKLab | oklab(75.41% -0.0757 0.1432) |
| OKLCH | oklch(75.41% 0.162 117.9) |
| XYZ | xyz(34.3564, 44.3567, 9.0368) |
| Luminance | 0.4436 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.38
Sick Green
#9DB92C
ΔE00 2.03
Gross Green
#A0BF16
ΔE00 2.07
Bright Olive
#9CBB04
ΔE00 2.32
Snot
#ACBB0D
ΔE00 2.40
Snot Green
#9DC100
ΔE00 3.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7BC2B #402BBC
analogous
#BC892B #A7BC2B #5EBC2B
triadic
#A7BC2B #2BA7BC #BC2BA7
tetradic
#A7BC2B #2BBC89 #402BBC #BC2B5E
square
#A7BC2B #2BBC89 #402BBC #BC2B5E
split-complementary
#A7BC2B #2B5EBC #892BBC
monochromatic
#4F5814 #7B8A20 #A7BC2B #C3D64E #D4E280
Accessibility & contrast
On white
2.13
#A7BC2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.87
#A7BC2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7BC2B
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7BC2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7BC2B | 1.00 | 2.13 | 9.87 | 9.87 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C9B100
Deuteranopia (green-blind)
#C7B239
Tritanopia (blue-blind)
#B1B1A1
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #a7bc2b; /* rgb */ color: rgb(167, 188, 43); /* oklch */ color: oklch(75.4% 0.162 117.9);
Tailwind
colors: {
custom: {
50: '#c5d071',
500: '#a7bc2b',
950: '#000000',
},
}SCSS
$custom: #a7bc2b; $custom-light: #c5d071; $custom-dark: #000000;
JSON
{
"hex": "#a7bc2b",
"rgb": {
"r": 167,
"g": 188,
"b": 43
},
"hsl": {
"h": 68.69,
"s": 62.771,
"l": 45.294
},
"oklch": {
"l": 0.75405,
"c": 0.16198,
"h": 117.9
},
"luminance": 0.44356
}Semantic roles & 50–950 ramp
primary
#A7BC2B
secondary
#8478CB
accent
#42E65A
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B