#A8B330#A8B330
#A8B330 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.5% C 0.149 H 114.3°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #A8B330 |
|---|---|
| RGB | rgb(168, 179, 48) |
| HSL | hsl(65, 58%, 45%) |
| HSV | hsv(65, 73%, 70%) |
| CMYK | cmyk(6.1%, 0%, 73.2%, 29.8%) |
| CIE-LAB | lab(70.02, -20.06, 61.39) |
| CIE-LCH | lch(70.02, 64.58, 108.09°) |
| OKLab | oklab(73.47% -0.0613 0.1358) |
| OKLCH | oklch(73.47% 0.149 114.3) |
| XYZ | xyz(32.8030, 40.7791, 8.9389) |
| Luminance | 0.4078 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.53
Puke Green
#9AAE07
ΔE00 3.08
Snot
#ACBB0D
ΔE00 3.26
Sick Green
#9DB92C
ΔE00 3.69
Booger
#9BB53C
ΔE00 3.94
Barf Green
#94AC02
ΔE00 4.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8B330 #3B30B3
analogous
#B37D30 #A8B330 #67B330
triadic
#A8B330 #30A8B3 #B330A8
tetradic
#A8B330 #30B37D #3B30B3 #B33067
square
#A8B330 #30B37D #3B30B3 #B33067
split-complementary
#A8B330 #3067B3 #7D30B3
monochromatic
#4D5216 #7B8323 #A8B330 #C5D050 #D5DD80
Accessibility & contrast
On white
2.29
#A8B330 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.16
#A8B330 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8B330
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8B330 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8B330 | 1.00 | 2.29 | 9.16 | 9.16 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AA16
Deuteranopia (green-blind)
#C0AC3B
Tritanopia (blue-blind)
#B3A89A
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a8b330; /* rgb */ color: rgb(168, 179, 48); /* oklch */ color: oklch(73.5% 0.149 114.3);
Tailwind
colors: {
custom: {
50: '#c5c972',
500: '#a8b330',
950: '#000000',
},
}SCSS
$custom: #a8b330; $custom-light: #c5c972; $custom-dark: #000000;
JSON
{
"hex": "#a8b330",
"rgb": {
"r": 168,
"g": 179,
"b": 48
},
"hsl": {
"h": 65.038,
"s": 57.709,
"l": 44.51
},
"oklch": {
"l": 0.73468,
"c": 0.14897,
"h": 114.3
},
"luminance": 0.40778
}Semantic roles & 50–950 ramp
primary
#A8B330
secondary
#7F79C6
accent
#47E154
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B