#A7BE31#A7BE31
#A7BE31 is a light, vivid yellow. Relative luminance 0.453; OKLCH L 75.9% C 0.161 H 118.6°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).
Color values
| HEX | #A7BE31 |
|---|---|
| RGB | rgb(167, 190, 49) |
| HSL | hsl(70, 59%, 47%) |
| HSV | hsv(70, 74%, 75%) |
| CMYK | cmyk(12.1%, 0%, 74.2%, 25.5%) |
| CIE-LAB | lab(73.07, -25.85, 63.92) |
| CIE-LCH | lch(73.07, 68.95, 112.02°) |
| OKLab | oklab(75.9% -0.0772 0.1413) |
| OKLCH | oklch(75.9% 0.161 118.6) |
| XYZ | xyz(34.9049, 45.2644, 9.8032) |
| Luminance | 0.4526 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.29
Sick Green
#9DB92C
ΔE00 1.94
Gross Green
#A0BF16
ΔE00 1.96
Bright Olive
#9CBB04
ΔE00 2.50
Snot Green
#9DC100
ΔE00 2.91
Snot
#ACBB0D
ΔE00 3.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7BE31 #4831BE
analogous
#BE8F31 #A7BE31 #61BE31
triadic
#A7BE31 #31A7BE #BE31A7
tetradic
#A7BE31 #31BE8F #4831BE #BE3161
square
#A7BE31 #31BE8F #4831BE #BE3161
split-complementary
#A7BE31 #3161BE #8F31BE
monochromatic
#515D18 #7C8D24 #A7BE31 #C0D458 #D2E189
Accessibility & contrast
On white
2.09
#A7BE31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.05
#A7BE31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7BE31
10.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7BE31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7BE31 | 1.00 | 2.09 | 10.05 | 10.05 |
| #FFFFFF | 2.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBB312
Deuteranopia (green-blind)
#C8B43D
Tritanopia (blue-blind)
#B1B3A3
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #a7be31; /* rgb */ color: rgb(167, 190, 49); /* oklch */ color: oklch(75.9% 0.161 118.6);
Tailwind
colors: {
custom: {
50: '#c5d174',
500: '#a7be31',
950: '#000000',
},
}SCSS
$custom: #a7be31; $custom-light: #c5d174; $custom-dark: #000000;
JSON
{
"hex": "#a7be31",
"rgb": {
"r": 167,
"g": 190,
"b": 49
},
"hsl": {
"h": 69.787,
"s": 58.996,
"l": 46.863
},
"oklch": {
"l": 0.75897,
"c": 0.16102,
"h": 118.6
},
"luminance": 0.45264
}Semantic roles & 50–950 ramp
primary
#A7BE31
secondary
#8C80CA
accent
#46E25F
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B