#A7B138#A7B138
#A7B138 is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.0% C 0.142 H 114.0°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).
Color values
| HEX | #A7B138 |
|---|---|
| RGB | rgb(167, 177, 56) |
| HSL | hsl(65, 52%, 46%) |
| HSV | hsv(65, 68%, 69%) |
| CMYK | cmyk(5.6%, 0%, 68.4%, 30.6%) |
| CIE-LAB | lab(69.43, -19.05, 57.83) |
| CIE-LCH | lch(69.43, 60.89, 108.24°) |
| OKLab | oklab(72.99% -0.0577 0.1297) |
| OKLCH | oklch(72.99% 0.142 114) |
| XYZ | xyz(32.3732, 39.9459, 9.7456) |
| Luminance | 0.3995 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 3.50
Mustard Green
#A8B504
ΔE00 3.56
Booger
#9BB53C
ΔE00 3.74
Sick Green
#9DB92C
ΔE00 4.07
Barf Green
#94AC02
ΔE00 4.28
Pea Soup Green
#94A617
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7B138 #4238B1
analogous
#B17E38 #A7B138 #6AB138
triadic
#A7B138 #38A7B1 #B138A7
tetradic
#A7B138 #38B17E #4238B1 #B1386A
square
#A7B138 #38B17E #4238B1 #B1386A
split-complementary
#A7B138 #386AB1 #7E38B1
monochromatic
#4F541B #7B8329 #A7B138 #C2CB5B #D3DA8A
Accessibility & contrast
On white
2.34
#A7B138 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.99
#A7B138 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7B138
8.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7B138 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7B138 | 1.00 | 2.34 | 8.99 | 8.99 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA826
Deuteranopia (green-blind)
#BDAB41
Tritanopia (blue-blind)
#B2A799
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a7b138; /* rgb */ color: rgb(167, 177, 56); /* oklch */ color: oklch(73.0% 0.142 114.0);
Tailwind
colors: {
custom: {
50: '#c4c876',
500: '#a7b138',
950: '#000000',
},
}SCSS
$custom: #a7b138; $custom-light: #c4c876; $custom-dark: #000000;
JSON
{
"hex": "#a7b138",
"rgb": {
"r": 167,
"g": 177,
"b": 56
},
"hsl": {
"h": 64.959,
"s": 51.931,
"l": 45.686
},
"oklch": {
"l": 0.72992,
"c": 0.14191,
"h": 114
},
"luminance": 0.39945
}Semantic roles & 50–950 ramp
primary
#A7B138
secondary
#8681C4
accent
#4CDB58
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B