#A8B726#A8B726
#A8B726 is a light, vivid yellow. Relative luminance 0.423; OKLCH L 74.3% C 0.159 H 115.7°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).
Color values
| HEX | #A8B726 |
|---|---|
| RGB | rgb(168, 183, 38) |
| HSL | hsl(66, 66%, 43%) |
| HSV | hsv(66, 79%, 72%) |
| CMYK | cmyk(8.2%, 0%, 79.2%, 28.2%) |
| CIE-LAB | lab(71.10, -22.48, 65.56) |
| CIE-LCH | lch(71.10, 69.31, 108.92°) |
| OKLab | oklab(74.32% -0.0688 0.1429) |
| OKLCH | oklch(74.32% 0.159 115.7) |
| XYZ | xyz(33.4327, 42.3323, 8.2431) |
| Luminance | 0.4233 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.73
Snot
#ACBB0D
ΔE00 1.92
Pea
#A4BF20
ΔE00 2.88
Sick Green
#9DB92C
ΔE00 2.98
Puke Green
#9AAE07
ΔE00 3.07
Bright Olive
#9CBB04
ΔE00 3.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8B726 #3526B7
analogous
#B77D26 #A8B726 #5FB726
triadic
#A8B726 #26A8B7 #B726A8
tetradic
#A8B726 #26B77D #3526B7 #B7265F
square
#A8B726 #26B77D #3526B7 #B7265F
split-complementary
#A8B726 #265FB7 #7D26B7
monochromatic
#4B5211 #79841B #A8B726 #C8D842 #D7E275
Accessibility & contrast
On white
2.22
#A8B726 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.47
#A8B726 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8B726
9.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8B726 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8B726 | 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)
#C3AF34
Tritanopia (blue-blind)
#B3AC9D
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #a8b726; /* rgb */ color: rgb(168, 183, 38); /* oklch */ color: oklch(74.3% 0.159 115.7);
Tailwind
colors: {
custom: {
50: '#c6cc6e',
500: '#a8b726',
950: '#000000',
},
}SCSS
$custom: #a8b726; $custom-light: #c6cc6e; $custom-dark: #000000;
JSON
{
"hex": "#a8b726",
"rgb": {
"r": 168,
"g": 183,
"b": 38
},
"hsl": {
"h": 66.207,
"s": 65.611,
"l": 43.333
},
"oklch": {
"l": 0.74317,
"c": 0.15858,
"h": 115.7
},
"luminance": 0.42332
}Semantic roles & 50–950 ramp
primary
#A8B726
secondary
#786FCA
accent
#3FE951
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B