#A0B238#A0B238
#A0B238 is a light, vivid yellow. Relative luminance 0.396; OKLCH L 72.7% C 0.145 H 117.4°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #A0B238 |
|---|---|
| RGB | rgb(160, 178, 56) |
| HSL | hsl(69, 52%, 46%) |
| HSV | hsv(69, 69%, 70%) |
| CMYK | cmyk(10.1%, 0%, 68.5%, 30.2%) |
| CIE-LAB | lab(69.18, -22.51, 57.41) |
| CIE-LCH | lch(69.18, 61.66, 111.41°) |
| OKLab | oklab(72.66% -0.0669 0.129) |
| OKLCH | oklch(72.66% 0.145 117.4) |
| XYZ | xyz(31.1321, 39.6002, 9.7442) |
| Luminance | 0.3960 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 1.90
Sick Green
#9DB92C
ΔE00 2.69
Sickly Green
#94B21C
ΔE00 2.91
Puke Green
#9AAE07
ΔE00 3.19
Icky Green
#8FAE22
ΔE00 3.31
Avocado (survey)
#90B134
ΔE00 3.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A0B238 #4A38B2
analogous
#B28738 #A0B238 #63B238
triadic
#A0B238 #38A0B2 #B238A0
tetradic
#A0B238 #38B287 #4A38B2 #B23863
square
#A0B238 #38B287 #4A38B2 #B23863
split-complementary
#A0B238 #3863B2 #8738B2
monochromatic
#4C551B #768329 #A0B238 #BBCC5C #CEDA8A
Accessibility & contrast
On white
2.35
#A0B238 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.92
#A0B238 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A0B238
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A0B238 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A0B238 | 1.00 | 2.35 | 8.92 | 8.92 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA925
Deuteranopia (green-blind)
#BCAA41
Tritanopia (blue-blind)
#AAA89A
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a0b238; /* rgb */ color: rgb(160, 178, 56); /* oklch */ color: oklch(72.7% 0.145 117.4);
Tailwind
colors: {
custom: {
50: '#bfc976',
500: '#a0b238',
950: '#000000',
},
}SCSS
$custom: #a0b238; $custom-light: #bfc976; $custom-dark: #000000;
JSON
{
"hex": "#a0b238",
"rgb": {
"r": 160,
"g": 178,
"b": 56
},
"hsl": {
"h": 68.852,
"s": 52.137,
"l": 45.882
},
"oklch": {
"l": 0.72662,
"c": 0.14528,
"h": 117.4
},
"luminance": 0.396
}Semantic roles & 50–950 ramp
primary
#A0B238
secondary
#8B81C5
accent
#4CDC61
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B