#A7B628#A7B628
#A7B628 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.0% C 0.157 H 115.8°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).
Color values
| HEX | #A7B628 |
|---|---|
| RGB | rgb(167, 182, 40) |
| HSL | hsl(66, 64%, 44%) |
| HSV | hsv(66, 78%, 71%) |
| CMYK | cmyk(8.2%, 0%, 78%, 28.6%) |
| CIE-LAB | lab(70.75, -22.33, 64.63) |
| CIE-LCH | lch(70.75, 68.38, 109.06°) |
| OKLab | oklab(74.02% -0.0682 0.1413) |
| OKLCH | oklch(74.02% 0.157 115.8) |
| XYZ | xyz(33.0482, 41.8251, 8.3392) |
| Luminance | 0.4183 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.90
Snot
#ACBB0D
ΔE00 2.27
Puke Green
#9AAE07
ΔE00 2.87
Sick Green
#9DB92C
ΔE00 2.89
Pea
#A4BF20
ΔE00 3.06
Bright Olive
#9CBB04
ΔE00 3.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7B628 #3728B6
analogous
#B67E28 #A7B628 #60B628
triadic
#A7B628 #28A7B6 #B628A7
tetradic
#A7B628 #28B67E #3728B6 #B62860
square
#A7B628 #28B67E #3728B6 #B62860
split-complementary
#A7B628 #2860B6 #7E28B6
monochromatic
#4B5212 #79841D #A7B628 #C7D645 #D6E177
Accessibility & contrast
On white
2.24
#A7B628 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.37
#A7B628 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7B628
9.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7B628 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7B628 | 1.00 | 2.24 | 9.37 | 9.37 |
| #FFFFFF | 2.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AC00
Deuteranopia (green-blind)
#C2AE35
Tritanopia (blue-blind)
#B2AB9C
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #a7b628; /* rgb */ color: rgb(167, 182, 40); /* oklch */ color: oklch(74.0% 0.157 115.8);
Tailwind
colors: {
custom: {
50: '#c5cb6f',
500: '#a7b628',
950: '#000000',
},
}SCSS
$custom: #a7b628; $custom-light: #c5cb6f; $custom-dark: #000000;
JSON
{
"hex": "#a7b628",
"rgb": {
"r": 167,
"g": 182,
"b": 40
},
"hsl": {
"h": 66.338,
"s": 63.964,
"l": 43.529
},
"oklch": {
"l": 0.74021,
"c": 0.15688,
"h": 115.8
},
"luminance": 0.41825
}Semantic roles & 50–950 ramp
primary
#A7B628
secondary
#7A71C9
accent
#41E752
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B