#A7BA30#A7BA30
#A7BA30 is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.0% C 0.157 H 117.3°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #A7BA30 |
|---|---|
| RGB | rgb(167, 186, 48) |
| HSL | hsl(68, 59%, 46%) |
| HSV | hsv(68, 74%, 73%) |
| CMYK | cmyk(10.2%, 0%, 74.2%, 27.1%) |
| CIE-LAB | lab(71.92, -23.95, 63.17) |
| CIE-LCH | lch(71.92, 67.56, 110.76°) |
| OKLab | oklab(74.98% -0.072 0.1396) |
| OKLCH | oklch(74.98% 0.157 117.3) |
| XYZ | xyz(34.0296, 43.5471, 9.4085) |
| Luminance | 0.4355 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.01
Pea
#A4BF20
ΔE00 2.08
Snot
#ACBB0D
ΔE00 2.65
Gross Green
#A0BF16
ΔE00 2.70
Bright Olive
#9CBB04
ΔE00 2.78
Mustard Green
#A8B504
ΔE00 3.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7BA30 #4330BA
analogous
#BA8830 #A7BA30 #62BA30
triadic
#A7BA30 #30A7BA #BA30A7
tetradic
#A7BA30 #30BA88 #4330BA #BA3062
square
#A7BA30 #30BA88 #4330BA #BA3062
split-complementary
#A7BA30 #3062BA #8830BA
monochromatic
#505917 #7B8923 #A7BA30 #C1D354 #D3DF85
Accessibility & contrast
On white
2.16
#A7BA30 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.71
#A7BA30 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7BA30
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7BA30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7BA30 | 1.00 | 2.16 | 9.71 | 9.71 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B012
Deuteranopia (green-blind)
#C5B13C
Tritanopia (blue-blind)
#B1AFA0
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #a7ba30; /* rgb */ color: rgb(167, 186, 48); /* oklch */ color: oklch(75.0% 0.157 117.3);
Tailwind
colors: {
custom: {
50: '#c5ce73',
500: '#a7ba30',
950: '#000000',
},
}SCSS
$custom: #a7ba30; $custom-light: #c5ce73; $custom-dark: #000000;
JSON
{
"hex": "#a7ba30",
"rgb": {
"r": 167,
"g": 186,
"b": 48
},
"hsl": {
"h": 68.261,
"s": 58.974,
"l": 45.882
},
"oklch": {
"l": 0.74978,
"c": 0.15706,
"h": 117.3
},
"luminance": 0.43547
}Semantic roles & 50–950 ramp
primary
#A7BA30
secondary
#877DC9
accent
#46E25B
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B