#A7B426#A7B426
#A7B426 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 73.6% C 0.156 H 115.0°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).
Color values
| HEX | #A7B426 |
|---|---|
| RGB | rgb(167, 180, 38) |
| HSL | hsl(65, 65%, 43%) |
| HSV | hsv(65, 79%, 71%) |
| CMYK | cmyk(7.2%, 0%, 78.9%, 29.4%) |
| CIE-LAB | lab(70.17, -21.42, 64.71) |
| CIE-LCH | lch(70.17, 68.16, 108.31°) |
| OKLab | oklab(73.56% -0.0658 0.1411) |
| OKLCH | oklch(73.56% 0.156 115) |
| XYZ | xyz(32.6084, 40.9985, 8.0291) |
| Luminance | 0.4100 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.70
Snot
#ACBB0D
ΔE00 2.50
Puke Green
#9AAE07
ΔE00 2.65
Sick Green
#9DB92C
ΔE00 3.41
Booger Green
#96B403
ΔE00 3.57
Pea
#A4BF20
ΔE00 3.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7B426 #3326B4
analogous
#B47A26 #A7B426 #60B426
triadic
#A7B426 #26A7B4 #B426A7
tetradic
#A7B426 #26B47A #3326B4 #B42660
square
#A7B426 #26B47A #3326B4 #B42660
split-complementary
#A7B426 #2660B4 #7A26B4
monochromatic
#494F11 #78811B #A7B426 #C9D740 #D7E173
Accessibility & contrast
On white
2.28
#A7B426 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.20
#A7B426 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7B426
9.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7B426 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7B426 | 1.00 | 2.28 | 9.20 | 9.20 |
| #FFFFFF | 2.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AB00
Deuteranopia (green-blind)
#C1AD34
Tritanopia (blue-blind)
#B2A99A
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #a7b426; /* rgb */ color: rgb(167, 180, 38); /* oklch */ color: oklch(73.6% 0.156 115.0);
Tailwind
colors: {
custom: {
50: '#c5ca6d',
500: '#a7b426',
950: '#000000',
},
}SCSS
$custom: #a7b426; $custom-light: #c5ca6d; $custom-dark: #000000;
JSON
{
"hex": "#a7b426",
"rgb": {
"r": 167,
"g": 180,
"b": 38
},
"hsl": {
"h": 65.493,
"s": 65.138,
"l": 42.745
},
"oklch": {
"l": 0.73556,
"c": 0.15569,
"h": 115
},
"luminance": 0.40998
}Semantic roles & 50–950 ramp
primary
#A7B426
secondary
#766DC9
accent
#40E84F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B