#A8B230#A8B230
#A8B230 is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.2% C 0.148 H 113.9°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #A8B230 |
|---|---|
| RGB | rgb(168, 178, 48) |
| HSL | hsl(65, 58%, 44%) |
| HSV | hsv(65, 73%, 70%) |
| CMYK | cmyk(5.6%, 0%, 73%, 30.2%) |
| CIE-LAB | lab(69.74, -19.56, 61.12) |
| CIE-LCH | lch(69.74, 64.17, 107.74°) |
| OKLab | oklab(73.24% -0.0599 0.1352) |
| OKLCH | oklch(73.24% 0.148 113.9) |
| XYZ | xyz(32.6033, 40.3797, 8.8723) |
| Luminance | 0.4038 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.63
Puke Green
#9AAE07
ΔE00 3.11
Snot
#ACBB0D
ΔE00 3.47
Sick Green
#9DB92C
ΔE00 3.96
Barf Green
#94AC02
ΔE00 4.07
Booger
#9BB53C
ΔE00 4.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8B230 #3A30B2
analogous
#B27B30 #A8B230 #67B230
triadic
#A8B230 #30A8B2 #B230A8
tetradic
#A8B230 #30B27B #3A30B2 #B23067
square
#A8B230 #30B27B #3A30B2 #B23067
split-complementary
#A8B230 #3067B2 #7B30B2
monochromatic
#4D5216 #7B8223 #A8B230 #C6D050 #D6DD80
Accessibility & contrast
On white
2.31
#A8B230 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.08
#A8B230 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8B230
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8B230 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8B230 | 1.00 | 2.31 | 9.08 | 9.08 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA916
Deuteranopia (green-blind)
#BFAC3B
Tritanopia (blue-blind)
#B3A799
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a8b230; /* rgb */ color: rgb(168, 178, 48); /* oklch */ color: oklch(73.2% 0.148 113.9);
Tailwind
colors: {
custom: {
50: '#c5c872',
500: '#a8b230',
950: '#000000',
},
}SCSS
$custom: #a8b230; $custom-light: #c5c872; $custom-dark: #000000;
JSON
{
"hex": "#a8b230",
"rgb": {
"r": 168,
"g": 178,
"b": 48
},
"hsl": {
"h": 64.615,
"s": 57.522,
"l": 44.314
},
"oklch": {
"l": 0.73242,
"c": 0.14788,
"h": 113.9
},
"luminance": 0.40379
}Semantic roles & 50–950 ramp
primary
#A8B230
secondary
#7E78C6
accent
#47E153
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B