#A8B728#A8B728
#A8B728 is a light, vivid yellow. Relative luminance 0.423; OKLCH L 74.3% C 0.158 H 115.7°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).
Color values
| HEX | #A8B728 |
|---|---|
| RGB | rgb(168, 183, 40) |
| HSL | hsl(66, 64%, 44%) |
| HSV | hsv(66, 78%, 72%) |
| CMYK | cmyk(8.2%, 0%, 78.1%, 28.2%) |
| CIE-LAB | lab(71.11, -22.40, 64.99) |
| CIE-LCH | lch(71.11, 68.74, 109.02°) |
| OKLab | oklab(74.33% -0.0684 0.142) |
| OKLCH | oklch(74.33% 0.158 115.7) |
| XYZ | xyz(33.4659, 42.3455, 8.4176) |
| Luminance | 0.4234 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.87
Snot
#ACBB0D
ΔE00 2.04
Pea
#A4BF20
ΔE00 2.89
Sick Green
#9DB92C
ΔE00 2.92
Puke Green
#9AAE07
ΔE00 3.10
Bright Olive
#9CBB04
ΔE00 3.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8B728 #3728B7
analogous
#B77E28 #A8B728 #60B728
triadic
#A8B728 #28A8B7 #B728A8
tetradic
#A8B728 #28B77E #3728B7 #B72860
square
#A8B728 #28B77E #3728B7 #B72860
split-complementary
#A8B728 #2860B7 #7E28B7
monochromatic
#4C5312 #7A851D #A8B728 #C7D646 #D6E178
Accessibility & contrast
On white
2.22
#A8B728 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.47
#A8B728 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8B728
9.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8B728 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8B728 | 1.00 | 2.22 | 9.47 | 9.47 |
| #FFFFFF | 2.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AD00
Deuteranopia (green-blind)
#C3AF36
Tritanopia (blue-blind)
#B3AC9D
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #a8b728; /* rgb */ color: rgb(168, 183, 40); /* oklch */ color: oklch(74.3% 0.158 115.7);
Tailwind
colors: {
custom: {
50: '#c6cc6f',
500: '#a8b728',
950: '#000000',
},
}SCSS
$custom: #a8b728; $custom-light: #c6cc6f; $custom-dark: #000000;
JSON
{
"hex": "#a8b728",
"rgb": {
"r": 168,
"g": 183,
"b": 40
},
"hsl": {
"h": 66.294,
"s": 64.126,
"l": 43.725
},
"oklch": {
"l": 0.74328,
"c": 0.15763,
"h": 115.7
},
"luminance": 0.42345
}Semantic roles & 50–950 ramp
primary
#A8B728
secondary
#7B72C9
accent
#41E752
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B