#A8B125#A8B125
#A8B125 is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.0% C 0.153 H 113.4°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #A8B125 |
|---|---|
| RGB | rgb(168, 177, 37) |
| HSL | hsl(64, 65%, 42%) |
| HSV | hsv(64, 79%, 69%) |
| CMYK | cmyk(5.1%, 0%, 79.1%, 30.6%) |
| CIE-LAB | lab(69.40, -19.53, 64.34) |
| CIE-LCH | lch(69.40, 67.24, 106.88°) |
| OKLab | oklab(72.95% -0.0607 0.1401) |
| OKLCH | oklch(72.95% 0.153 113.4) |
| XYZ | xyz(32.2056, 39.9034, 7.7555) |
| Luminance | 0.3990 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.99
Puke Green
#9AAE07
ΔE00 2.85
Snot
#ACBB0D
ΔE00 3.17
Vomit
#A2A415
ΔE00 3.87
Barf Green
#94AC02
ΔE00 3.94
Puke
#A5A502
ΔE00 4.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8B125 #2E25B1
analogous
#B17425 #A8B125 #62B125
triadic
#A8B125 #25A8B1 #B125A8
tetradic
#A8B125 #25B174 #2E25B1 #B12562
square
#A8B125 #25B174 #2E25B1 #B12562
split-complementary
#A8B125 #2562B1 #7425B1
monochromatic
#484C10 #787E1A #A8B125 #CDD63D #DAE16F
Accessibility & contrast
On white
2.34
#A8B125 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.98
#A8B125 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8B125
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8B125 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8B125 | 1.00 | 2.34 | 8.98 | 8.98 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA800
Deuteranopia (green-blind)
#BFAB32
Tritanopia (blue-blind)
#B4A697
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a8b125; /* rgb */ color: rgb(168, 177, 37); /* oklch */ color: oklch(73.0% 0.153 113.4);
Tailwind
colors: {
custom: {
50: '#c6c86d',
500: '#a8b125',
950: '#000000',
},
}SCSS
$custom: #a8b125; $custom-light: #c6c86d; $custom-dark: #000000;
JSON
{
"hex": "#a8b125",
"rgb": {
"r": 168,
"g": 177,
"b": 37
},
"hsl": {
"h": 63.857,
"s": 65.421,
"l": 41.961
},
"oklch": {
"l": 0.72953,
"c": 0.15268,
"h": 113.4
},
"luminance": 0.39903
}Semantic roles & 50–950 ramp
primary
#A8B125
secondary
#706AC8
accent
#3FE84A
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#131308
muted
#82827A