#A8B830#A8B830
#A8B830 is a light, vivid yellow. Relative luminance 0.428; OKLCH L 74.6% C 0.154 H 116.2°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #A8B830 |
|---|---|
| RGB | rgb(168, 184, 48) |
| HSL | hsl(67, 59%, 45%) |
| HSV | hsv(67, 74%, 72%) |
| CMYK | cmyk(8.7%, 0%, 73.9%, 27.8%) |
| CIE-LAB | lab(71.43, -22.54, 62.73) |
| CIE-LCH | lch(71.43, 66.66, 109.77°) |
| OKLab | oklab(74.6% -0.0682 0.1386) |
| OKLCH | oklch(74.6% 0.154 116.2) |
| XYZ | xyz(33.8233, 42.8197, 9.2790) |
| Luminance | 0.4282 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.53
Snot
#ACBB0D
ΔE00 2.56
Mustard Green
#A8B504
ΔE00 2.60
Pea
#A4BF20
ΔE00 2.74
Bright Olive
#9CBB04
ΔE00 3.27
Gross Green
#A0BF16
ΔE00 3.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8B830 #4030B8
analogous
#B88430 #A8B830 #64B830
triadic
#A8B830 #30A8B8 #B830A8
tetradic
#A8B830 #30B884 #4030B8 #B83064
square
#A8B830 #30B884 #4030B8 #B83064
split-complementary
#A8B830 #3064B8 #8430B8
monochromatic
#4F5717 #7C8723 #A8B830 #C3D253 #D4DF84
Accessibility & contrast
On white
2.20
#A8B830 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.56
#A8B830 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8B830
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8B830 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8B830 | 1.00 | 2.20 | 9.56 | 9.56 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AE13
Deuteranopia (green-blind)
#C4B03C
Tritanopia (blue-blind)
#B3AD9E
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #a8b830; /* rgb */ color: rgb(168, 184, 48); /* oklch */ color: oklch(74.6% 0.154 116.2);
Tailwind
colors: {
custom: {
50: '#c5cd72',
500: '#a8b830',
950: '#000000',
},
}SCSS
$custom: #a8b830; $custom-light: #c5cd72; $custom-dark: #000000;
JSON
{
"hex": "#a8b830",
"rgb": {
"r": 168,
"g": 184,
"b": 48
},
"hsl": {
"h": 67.059,
"s": 58.621,
"l": 45.49
},
"oklch": {
"l": 0.74601,
"c": 0.15448,
"h": 116.2
},
"luminance": 0.42819
}Semantic roles & 50–950 ramp
primary
#A8B830
secondary
#857CC8
accent
#46E258
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B