#A7BF26#A7BF26
#A7BF26 is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.1% C 0.168 H 118.7°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).
Color values
| HEX | #A7BF26 |
|---|---|
| RGB | rgb(167, 191, 38) |
| HSL | hsl(69, 67%, 45%) |
| HSV | hsv(69, 80%, 75%) |
| CMYK | cmyk(12.6%, 0%, 80.1%, 25.1%) |
| CIE-LAB | lab(73.30, -26.80, 67.49) |
| CIE-LCH | lch(73.30, 72.62, 111.66°) |
| OKLab | oklab(76.07% -0.0806 0.147) |
| OKLCH | oklch(76.07% 0.168 118.7) |
| XYZ | xyz(34.9178, 45.6173, 8.7989) |
| Luminance | 0.4562 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 0.61
Gross Green
#A0BF16
ΔE00 1.40
Bright Olive
#9CBB04
ΔE00 2.07
Snot Green
#9DC100
ΔE00 2.31
Sick Green
#9DB92C
ΔE00 2.37
Snot
#ACBB0D
ΔE00 2.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7BF26 #3E26BF
analogous
#BF8B26 #A7BF26 #5ABF26
triadic
#A7BF26 #26A7BF #BF26A7
tetradic
#A7BF26 #26BF8B #3E26BF #BF265A
square
#A7BF26 #26BF8B #3E26BF #BF265A
split-complementary
#A7BF26 #265ABF #8B26BF
monochromatic
#4E5912 #7A8C1C #A7BF26 #C3DB48 #D4E57B
Accessibility & contrast
On white
2.07
#A7BF26 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.12
#A7BF26 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7BF26
10.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7BF26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7BF26 | 1.00 | 2.07 | 10.12 | 10.12 |
| #FFFFFF | 2.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCB400
Deuteranopia (green-blind)
#C9B536
Tritanopia (blue-blind)
#B1B4A3
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #a7bf26; /* rgb */ color: rgb(167, 191, 38); /* oklch */ color: oklch(76.1% 0.168 118.7);
Tailwind
colors: {
custom: {
50: '#c5d26f',
500: '#a7bf26',
950: '#000000',
},
}SCSS
$custom: #a7bf26; $custom-light: #c5d26f; $custom-dark: #000000;
JSON
{
"hex": "#a7bf26",
"rgb": {
"r": 167,
"g": 191,
"b": 38
},
"hsl": {
"h": 69.412,
"s": 66.812,
"l": 44.902
},
"oklch": {
"l": 0.76066,
"c": 0.16768,
"h": 118.7
},
"luminance": 0.45617
}Semantic roles & 50–950 ramp
primary
#A7BF26
secondary
#8274CD
accent
#3EEA59
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B