#A7B830#A7B830
#A7B830 is a light, vivid yellow. Relative luminance 0.427; OKLCH L 74.5% C 0.155 H 116.6°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #A7B830 |
|---|---|
| RGB | rgb(167, 184, 48) |
| HSL | hsl(68, 59%, 45%) |
| HSV | hsv(68, 74%, 72%) |
| CMYK | cmyk(9.2%, 0%, 73.9%, 27.8%) |
| CIE-LAB | lab(71.36, -22.96, 62.64) |
| CIE-LCH | lch(71.36, 66.71, 110.13°) |
| OKLab | oklab(74.52% -0.0693 0.1384) |
| OKLCH | oklch(74.52% 0.155 116.6) |
| XYZ | xyz(33.6112, 42.7103, 9.2690) |
| Luminance | 0.4271 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.30
Pea
#A4BF20
ΔE00 2.62
Snot
#ACBB0D
ΔE00 2.68
Mustard Green
#A8B504
ΔE00 2.73
Bright Olive
#9CBB04
ΔE00 3.12
Booger
#9BB53C
ΔE00 3.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7B830 #4130B8
analogous
#B88530 #A7B830 #63B830
triadic
#A7B830 #30A7B8 #B830A7
tetradic
#A7B830 #30B885 #4130B8 #B83063
square
#A7B830 #30B885 #4130B8 #B83063
split-complementary
#A7B830 #3063B8 #8530B8
monochromatic
#4F5717 #7B8723 #A7B830 #C2D253 #D3DF84
Accessibility & contrast
On white
2.20
#A7B830 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.54
#A7B830 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7B830
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7B830 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7B830 | 1.00 | 2.20 | 9.54 | 9.54 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AE13
Deuteranopia (green-blind)
#C3B03C
Tritanopia (blue-blind)
#B2AD9E
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #a7b830; /* rgb */ color: rgb(167, 184, 48); /* oklch */ color: oklch(74.5% 0.155 116.6);
Tailwind
colors: {
custom: {
50: '#c5cd72',
500: '#a7b830',
950: '#000000',
},
}SCSS
$custom: #a7b830; $custom-light: #c5cd72; $custom-dark: #000000;
JSON
{
"hex": "#a7b830",
"rgb": {
"r": 167,
"g": 184,
"b": 48
},
"hsl": {
"h": 67.5,
"s": 58.621,
"l": 45.49
},
"oklch": {
"l": 0.74522,
"c": 0.15482,
"h": 116.6
},
"luminance": 0.4271
}Semantic roles & 50–950 ramp
primary
#A7B830
secondary
#857CC8
accent
#46E259
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B