#227230#227230
#227230 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.8% C 0.126 H 146.3°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #227230 |
|---|---|
| RGB | rgb(34, 114, 48) |
| HSL | hsl(131, 54%, 29%) |
| HSV | hsv(131, 70%, 45%) |
| CMYK | cmyk(70.2%, 0%, 57.9%, 55.3%) |
| CIE-LAB | lab(42.13, -38.92, 29.36) |
| CIE-LCH | lch(42.13, 48.75, 142.97°) |
| OKLab | oklab(48.81% -0.1051 0.0701) |
| OKLCH | oklch(48.81% 0.126 146.3) |
| XYZ | xyz(7.2100, 12.5873, 4.8454) |
| Luminance | 0.1259 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.49
Jungle Green
#048243
ΔE00 6.08
Tree Green
#2A7E19
ΔE00 6.55
Darkgreen
#006400
ΔE00 6.88
Green
#008000
ΔE00 7.97
Pine
#2B5D34
ΔE00 8.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227230 #722264
analogous
#3C7222 #227230 #227258
triadic
#227230 #302272 #723022
tetradic
#227230 #223C72 #722264 #725822
square
#227230 #223C72 #722264 #725822
split-complementary
#227230 #582272 #72223C
monochromatic
#07180A #14431C #227230 #30A144 #46C85D
Accessibility & contrast
On white
5.97
#227230 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#227230 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227230
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227230 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227230 | 1.00 | 5.97 | 3.52 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#74682A
Deuteranopia (green-blind)
#6A6135
Tritanopia (blue-blind)
#066F63
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #227230; /* rgb */ color: rgb(34, 114, 48); /* oklch */ color: oklch(48.8% 0.126 146.3);
Tailwind
colors: {
custom: {
50: '#699b6a',
500: '#227230',
950: '#000000',
},
}SCSS
$custom: #227230; $custom-light: #699b6a; $custom-dark: #000000;
JSON
{
"hex": "#227230",
"rgb": {
"r": 34,
"g": 114,
"b": 48
},
"hsl": {
"h": 130.5,
"s": 54.054,
"l": 29.02
},
"oklch": {
"l": 0.48813,
"c": 0.12629,
"h": 146.3
},
"luminance": 0.12588
}Semantic roles & 50–950 ramp
primary
#227230
secondary
#A54B95
accent
#4AC4DD
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A