#548B40#548B40
#548B40 is a mid, vivid green. Relative luminance 0.207; OKLCH L 58.0% C 0.122 H 138.0°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #548B40 |
|---|---|
| RGB | rgb(84, 139, 64) |
| HSL | hsl(104, 37%, 40%) |
| HSV | hsv(104, 54%, 55%) |
| CMYK | cmyk(39.6%, 0%, 54%, 45.5%) |
| CIE-LAB | lab(52.64, -32.98, 34.16) |
| CIE-LCH | lch(52.64, 47.49, 134.00°) |
| OKLab | oklab(58.05% -0.0906 0.0816) |
| OKLCH | oklch(58.05% 0.122 138) |
| XYZ | xyz(13.8138, 20.7195, 8.1209) |
| Luminance | 0.2072 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Fern Green
#548D44
ΔE00 0.91
Moss Green (survey)
#658B38
ΔE00 4.05
Light Forest Green
#4F9153
ΔE00 4.19
Mossy Green
#638B27
ΔE00 5.74
Swamp
#698339
ΔE00 5.98
Dark Sage
#598556
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#548B40 #77408B
analogous
#7A8B40 #548B40 #408B52
triadic
#548B40 #40548B #8B4054
tetradic
#548B40 #407A8B #77408B #8B5240
square
#548B40 #407A8B #77408B #8B5240
split-complementary
#548B40 #52408B #8B407A
monochromatic
#213719 #3B612D #548B40 #6FB257 #93C581
Accessibility & contrast
On white
4.08
#548B40 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.14
#548B40 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #548B40
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##548B40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##548B40 | 1.00 | 4.08 | 5.14 | 5.14 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F8139
Deuteranopia (green-blind)
#877C45
Tritanopia (blue-blind)
#51877A
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #548b40; /* rgb */ color: rgb(84, 139, 64); /* oklch */ color: oklch(58.0% 0.122 138.0);
Tailwind
colors: {
custom: {
50: '#87ad77',
500: '#548b40',
950: '#000000',
},
}SCSS
$custom: #548b40; $custom-light: #87ad77; $custom-dark: #000000;
JSON
{
"hex": "#548b40",
"rgb": {
"r": 84,
"g": 139,
"b": 64
},
"hsl": {
"h": 104,
"s": 36.946,
"l": 39.804
},
"oklch": {
"l": 0.58048,
"c": 0.12193,
"h": 138
},
"luminance": 0.2072
}Semantic roles & 50–950 ramp
primary
#548B40
secondary
#A078AF
accent
#5BCDAF
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0C1009
muted
#7D7F7B