#227B4B#227B4B
#227B4B is a mid, moderate green. Relative luminance 0.150; OKLCH L 51.9% C 0.112 H 155.1°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #227B4B |
|---|---|
| RGB | rgb(34, 123, 75) |
| HSL | hsl(148, 57%, 31%) |
| HSV | hsv(148, 72%, 48%) |
| CMYK | cmyk(72.4%, 0%, 39%, 51.8%) |
| CIE-LAB | lab(45.65, -37.75, 18.92) |
| CIE-LCH | lch(45.65, 42.22, 153.37°) |
| OKLab | oklab(51.85% -0.102 0.0474) |
| OKLCH | oklch(51.85% 0.112 155.1) |
| XYZ | xyz(9.0118, 15.0130, 9.0781) |
| Luminance | 0.1501 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 3.84
Darkish Green
#287C37
ΔE00 4.92
Dark Sea Green
#11875D
ΔE00 5.09
Sea Green
#2E8B57
ΔE00 5.90
Dark Sage
#598556
ΔE00 8.21
Viridian
#1E9167
ΔE00 8.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227B4B #7B2252
analogous
#267B22 #227B4B #227B77
triadic
#227B4B #4B227B #7B4B22
tetradic
#227B4B #22267B #7B2252 #7B7722
square
#227B4B #22267B #7B2252 #7B7722
split-complementary
#227B4B #77227B #7B2226
monochromatic
#071B11 #154B2E #227B4B #2FAB68 #4ACD87
Accessibility & contrast
On white
5.25
#227B4B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#227B4B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227B4B
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227B4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227B4B | 1.00 | 5.25 | 4.00 | 5.25 |
| #FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B7148
Deuteranopia (green-blind)
#6F694E
Tritanopia (blue-blind)
#007A6F
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #227b4b; /* rgb */ color: rgb(34, 123, 75); /* oklch */ color: oklch(51.9% 0.112 155.1);
Tailwind
colors: {
custom: {
50: '#6aa27d',
500: '#227b4b',
950: '#000000',
},
}SCSS
$custom: #227b4b; $custom-light: #6aa27d; $custom-dark: #000000;
JSON
{
"hex": "#227b4b",
"rgb": {
"r": 34,
"g": 123,
"b": 75
},
"hsl": {
"h": 147.64,
"s": 56.688,
"l": 30.784
},
"oklch": {
"l": 0.51854,
"c": 0.11248,
"h": 155.1
},
"luminance": 0.15014
}Semantic roles & 50–950 ramp
primary
#227B4B
secondary
#AE4B80
accent
#489AE0
background
#F6FAF7
surface
#ECF3EE
border
#C7CDC9
text
#070F09
muted
#7A7F7B