#227538#227538
#227538 is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.8% C 0.123 H 148.5°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #227538 |
|---|---|
| RGB | rgb(34, 117, 56) |
| HSL | hsl(136, 55%, 30%) |
| HSV | hsv(136, 71%, 46%) |
| CMYK | cmyk(70.9%, 0%, 52.1%, 54.1%) |
| CIE-LAB | lab(43.28, -38.86, 26.49) |
| CIE-LCH | lch(43.28, 47.03, 145.72°) |
| OKLab | oklab(49.8% -0.1047 0.0642) |
| OKLCH | oklch(49.8% 0.123 148.5) |
| XYZ | xyz(7.7342, 13.3474, 5.9093) |
| Luminance | 0.1335 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.82
Jungle Green
#048243
ΔE00 4.76
Tree Green
#2A7E19
ΔE00 7.08
Darkgreen
#006400
ΔE00 8.47
Green
#008000
ΔE00 8.53
Spruce
#0A5F38
ΔE00 8.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227538 #75225F
analogous
#357522 #227538 #227562
triadic
#227538 #382275 #753822
tetradic
#227538 #223575 #75225F #756222
square
#227538 #223575 #75225F #756222
split-complementary
#227538 #622275 #752235
monochromatic
#07180B #144621 #227538 #30A44F #48CA6A
Accessibility & contrast
On white
5.72
#227538 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#227538 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227538
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227538 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227538 | 1.00 | 5.72 | 3.67 | 5.72 |
| #FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766B33
Deuteranopia (green-blind)
#6C633C
Tritanopia (blue-blind)
#007367
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #227538; /* rgb */ color: rgb(34, 117, 56); /* oklch */ color: oklch(49.8% 0.123 148.5);
Tailwind
colors: {
custom: {
50: '#699e70',
500: '#227538',
950: '#000000',
},
}SCSS
$custom: #227538; $custom-light: #699e70; $custom-dark: #000000;
JSON
{
"hex": "#227538",
"rgb": {
"r": 34,
"g": 117,
"b": 56
},
"hsl": {
"h": 135.904,
"s": 54.967,
"l": 29.608
},
"oklch": {
"l": 0.49797,
"c": 0.12284,
"h": 148.5
},
"luminance": 0.13348
}Semantic roles & 50–950 ramp
primary
#227538
secondary
#A84B8F
accent
#49B7DE
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070E07
muted
#7A7E7A