#A8B626#A8B626
#A8B626 is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.1% C 0.158 H 115.4°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #A8B626 |
|---|---|
| RGB | rgb(168, 182, 38) |
| HSL | hsl(66, 65%, 43%) |
| HSV | hsv(66, 79%, 71%) |
| CMYK | cmyk(7.7%, 0%, 79.1%, 28.6%) |
| CIE-LAB | lab(70.82, -21.98, 65.31) |
| CIE-LCH | lch(70.82, 68.91, 108.60°) |
| OKLab | oklab(74.09% -0.0674 0.1423) |
| OKLCH | oklch(74.09% 0.158 115.4) |
| XYZ | xyz(33.2272, 41.9212, 8.1746) |
| Luminance | 0.4192 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.64
Snot
#ACBB0D
ΔE00 2.06
Puke Green
#9AAE07
ΔE00 2.95
Sick Green
#9DB92C
ΔE00 3.18
Pea
#A4BF20
ΔE00 3.19
Bright Olive
#9CBB04
ΔE00 3.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8B626 #3426B6
analogous
#B67C26 #A8B626 #60B626
triadic
#A8B626 #26A8B6 #B626A8
tetradic
#A8B626 #26B67C #3426B6 #B62660
square
#A8B626 #26B67C #3426B6 #B62660
split-complementary
#A8B626 #2660B6 #7C26B6
monochromatic
#4B5111 #79831B #A8B626 #C9D742 #D7E274
Accessibility & contrast
On white
2.24
#A8B626 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.38
#A8B626 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8B626
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8B626 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8B626 | 1.00 | 2.24 | 9.38 | 9.38 |
| #FFFFFF | 2.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AC00
Deuteranopia (green-blind)
#C2AE34
Tritanopia (blue-blind)
#B3AB9C
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #a8b626; /* rgb */ color: rgb(168, 182, 38); /* oklch */ color: oklch(74.1% 0.158 115.4);
Tailwind
colors: {
custom: {
50: '#c6cb6e',
500: '#a8b626',
950: '#000000',
},
}SCSS
$custom: #a8b626; $custom-light: #c6cb6e; $custom-dark: #000000;
JSON
{
"hex": "#a8b626",
"rgb": {
"r": 168,
"g": 182,
"b": 38
},
"hsl": {
"h": 65.833,
"s": 65.455,
"l": 43.137
},
"oklch": {
"l": 0.7409,
"c": 0.1575,
"h": 115.4
},
"luminance": 0.41921
}Semantic roles & 50–950 ramp
primary
#A8B626
secondary
#776EC9
accent
#3FE850
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B