#A8B438#A8B438
#A8B438 is a light, vivid yellow. Relative luminance 0.413; OKLCH L 73.8% C 0.145 H 114.8°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).
Color values
| HEX | #A8B438 |
|---|---|
| RGB | rgb(168, 180, 56) |
| HSL | hsl(66, 53%, 46%) |
| HSV | hsv(66, 69%, 71%) |
| CMYK | cmyk(6.7%, 0%, 68.9%, 29.4%) |
| CIE-LAB | lab(70.35, -20.14, 58.78) |
| CIE-LCH | lch(70.35, 62.14, 108.91°) |
| OKLab | oklab(73.75% -0.0608 0.1316) |
| OKLCH | oklch(73.75% 0.145 114.8) |
| XYZ | xyz(33.1844, 41.2534, 9.9552) |
| Luminance | 0.4125 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.25
Booger
#9BB53C
ΔE00 3.38
Sick Green
#9DB92C
ΔE00 3.42
Puke Green
#9AAE07
ΔE00 3.54
Snot
#ACBB0D
ΔE00 3.72
Sickly Green
#94B21C
ΔE00 4.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8B438 #4438B4
analogous
#B48238 #A8B438 #6AB438
triadic
#A8B438 #38A8B4 #B438A8
tetradic
#A8B438 #38B482 #4438B4 #B4386A
square
#A8B438 #38B482 #4438B4 #B4386A
split-complementary
#A8B438 #386AB4 #8238B4
monochromatic
#51571B #7C8529 #A8B438 #C2CD5D #D3DB8B
Accessibility & contrast
On white
2.27
#A8B438 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.25
#A8B438 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8B438
9.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8B438 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8B438 | 1.00 | 2.27 | 9.25 | 9.25 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AB25
Deuteranopia (green-blind)
#C0AD41
Tritanopia (blue-blind)
#B3AA9B
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #a8b438; /* rgb */ color: rgb(168, 180, 56); /* oklch */ color: oklch(73.8% 0.145 114.8);
Tailwind
colors: {
custom: {
50: '#c5ca76',
500: '#a8b438',
950: '#000000',
},
}SCSS
$custom: #a8b438; $custom-light: #c5ca76; $custom-dark: #000000;
JSON
{
"hex": "#a8b438",
"rgb": {
"r": 168,
"g": 180,
"b": 56
},
"hsl": {
"h": 65.806,
"s": 52.542,
"l": 46.275
},
"oklch": {
"l": 0.73751,
"c": 0.14499,
"h": 114.8
},
"luminance": 0.41253
}Semantic roles & 50–950 ramp
primary
#A8B438
secondary
#8982C5
accent
#4CDC5A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B