#A7BF2C#A7BF2C
#A7BF2C is a light, vivid yellow. Relative luminance 0.457; OKLCH L 76.1% C 0.165 H 118.9°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).
Color values
| HEX | #A7BF2C |
|---|---|
| RGB | rgb(167, 191, 44) |
| HSL | hsl(70, 63%, 46%) |
| HSV | hsv(70, 77%, 75%) |
| CMYK | cmyk(12.6%, 0%, 77%, 25.1%) |
| CIE-LAB | lab(73.32, -26.56, 65.77) |
| CIE-LCH | lch(73.32, 70.93, 111.99°) |
| OKLab | oklab(76.1% -0.0795 0.1444) |
| OKLCH | oklch(76.1% 0.165 118.9) |
| XYZ | xyz(35.0226, 45.6592, 9.3505) |
| Luminance | 0.4566 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 0.85
Gross Green
#A0BF16
ΔE00 1.59
Sick Green
#9DB92C
ΔE00 2.16
Bright Olive
#9CBB04
ΔE00 2.26
Snot Green
#9DC100
ΔE00 2.51
Snot
#ACBB0D
ΔE00 2.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7BF2C #442CBF
analogous
#BF8D2C #A7BF2C #5DBF2C
triadic
#A7BF2C #2CA7BF #BF2CA7
tetradic
#A7BF2C #2CBF8D #442CBF #BF2C5D
square
#A7BF2C #2CBF8D #442CBF #BF2C5D
split-complementary
#A7BF2C #2C5DBF #8D2CBF
monochromatic
#505C15 #7C8D21 #A7BF2C #C1D751 #D3E283
Accessibility & contrast
On white
2.07
#A7BF2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.13
#A7BF2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7BF2C
10.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7BF2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7BF2C | 1.00 | 2.07 | 10.13 | 10.13 |
| #FFFFFF | 2.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCB400
Deuteranopia (green-blind)
#C9B53A
Tritanopia (blue-blind)
#B1B4A4
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #a7bf2c; /* rgb */ color: rgb(167, 191, 44); /* oklch */ color: oklch(76.1% 0.165 118.9);
Tailwind
colors: {
custom: {
50: '#c5d271',
500: '#a7bf2c',
950: '#000000',
},
}SCSS
$custom: #a7bf2c; $custom-light: #c5d271; $custom-dark: #000000;
JSON
{
"hex": "#a7bf2c",
"rgb": {
"r": 167,
"g": 191,
"b": 44
},
"hsl": {
"h": 69.796,
"s": 62.553,
"l": 46.078
},
"oklch": {
"l": 0.76097,
"c": 0.16483,
"h": 118.9
},
"luminance": 0.45659
}Semantic roles & 50–950 ramp
primary
#A7BF2C
secondary
#887BCC
accent
#42E65D
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B