#227845#227845
#227845 is a mid, moderate green. Relative luminance 0.142; OKLCH L 50.9% C 0.114 H 153.0°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #227845 |
|---|---|
| RGB | rgb(34, 120, 69) |
| HSL | hsl(144, 56%, 30%) |
| HSV | hsv(144, 72%, 47%) |
| CMYK | cmyk(71.7%, 0%, 42.5%, 52.9%) |
| CIE-LAB | lab(44.52, -37.71, 20.84) |
| CIE-LCH | lch(44.52, 43.09, 151.07°) |
| OKLab | oklab(50.89% -0.1017 0.0518) |
| OKLCH | oklch(50.89% 0.114 153) |
| XYZ | xyz(8.4496, 14.2018, 7.9250) |
| Luminance | 0.1420 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 4.07
Darkish Green
#287C37
ΔE00 4.18
Dark Sea Green
#11875D
ΔE00 6.50
Sea Green
#2E8B57
ΔE00 7.00
Spruce
#0A5F38
ΔE00 8.67
Dark Sage
#598556
ΔE00 8.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227845 #782255
analogous
#2A7822 #227845 #227870
triadic
#227845 #452278 #784522
tetradic
#227845 #222A78 #782255 #787022
square
#227845 #222A78 #782255 #787022
split-complementary
#227845 #702278 #78222A
monochromatic
#07190E #14482A #227845 #30A860 #49CB7E
Accessibility & contrast
On white
5.47
#227845 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.84
#227845 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227845
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227845 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227845 | 1.00 | 5.47 | 3.84 | 5.47 |
| #FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#786E41
Deuteranopia (green-blind)
#6D6648
Tritanopia (blue-blind)
#00766B
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #227845; /* rgb */ color: rgb(34, 120, 69); /* oklch */ color: oklch(50.9% 0.114 153.0);
Tailwind
colors: {
custom: {
50: '#69a079',
500: '#227845',
950: '#000000',
},
}SCSS
$custom: #227845; $custom-light: #69a079; $custom-dark: #000000;
JSON
{
"hex": "#227845",
"rgb": {
"r": 34,
"g": 120,
"b": 69
},
"hsl": {
"h": 144.419,
"s": 55.844,
"l": 30.196
},
"oklch": {
"l": 0.50887,
"c": 0.11415,
"h": 153
},
"luminance": 0.14203
}Semantic roles & 50–950 ramp
primary
#227845
secondary
#AB4B84
accent
#49A2DF
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070F09
muted
#7A7E7B