#A8B239#A8B239
#A8B239 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.3% C 0.142 H 114.0°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #A8B239 |
|---|---|
| RGB | rgb(168, 178, 57) |
| HSL | hsl(65, 51%, 46%) |
| HSV | hsv(65, 68%, 70%) |
| CMYK | cmyk(5.6%, 0%, 68%, 30.2%) |
| CIE-LAB | lab(69.80, -19.08, 57.84) |
| CIE-LCH | lch(69.80, 60.90, 108.25°) |
| OKLab | oklab(73.31% -0.0577 0.1298) |
| OKLCH | oklch(73.31% 0.142 114) |
| XYZ | xyz(32.8083, 40.4617, 9.9517) |
| Luminance | 0.4046 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.50
Puke Green
#9AAE07
ΔE00 3.64
Booger
#9BB53C
ΔE00 3.72
Sick Green
#9DB92C
ΔE00 3.99
Snot
#ACBB0D
ΔE00 4.16
Barf Green
#94AC02
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8B239 #4339B2
analogous
#B27F39 #A8B239 #6BB239
triadic
#A8B239 #39A8B2 #B239A8
tetradic
#A8B239 #39B27F #4339B2 #B2396B
square
#A8B239 #39B27F #4339B2 #B2396B
split-complementary
#A8B239 #396BB2 #7F39B2
monochromatic
#50551B #7C842A #A8B239 #C2CB5D #D3DA8B
Accessibility & contrast
On white
2.31
#A8B239 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.09
#A8B239 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8B239
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8B239 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8B239 | 1.00 | 2.31 | 9.09 | 9.09 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA927
Deuteranopia (green-blind)
#BEAC42
Tritanopia (blue-blind)
#B3A89A
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a8b239; /* rgb */ color: rgb(168, 178, 57); /* oklch */ color: oklch(73.3% 0.142 114.0);
Tailwind
colors: {
custom: {
50: '#c5c876',
500: '#a8b239',
950: '#000000',
},
}SCSS
$custom: #a8b239; $custom-light: #c5c876; $custom-dark: #000000;
JSON
{
"hex": "#a8b239",
"rgb": {
"r": 168,
"g": 178,
"b": 57
},
"hsl": {
"h": 64.959,
"s": 51.489,
"l": 46.078
},
"oklch": {
"l": 0.73307,
"c": 0.14205,
"h": 114
},
"luminance": 0.40461
}Semantic roles & 50–950 ramp
primary
#A8B239
secondary
#8882C4
accent
#4DDB59
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B