#22751F#22751F
#22751F is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.5% C 0.144 H 142.6°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #22751F |
|---|---|
| RGB | rgb(34, 117, 31) |
| HSL | hsl(118, 58%, 29%) |
| HSV | hsv(118, 74%, 46%) |
| CMYK | cmyk(70.9%, 0%, 73.5%, 54.1%) |
| CIE-LAB | lab(43.00, -42.11, 38.42) |
| CIE-LCH | lch(43.00, 57.00, 137.62°) |
| OKLab | oklab(49.48% -0.1145 0.0876) |
| OKLCH | oklch(49.48% 0.144 142.6) |
| XYZ | xyz(7.2679, 13.1608, 3.4533) |
| Luminance | 0.1316 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.63
Darkish Green
#287C37
ΔE00 4.12
Green
#008000
ΔE00 4.93
Dark Grass Green
#388004
ΔE00 6.03
Darkgreen
#006400
ΔE00 6.06
Jungle Green
#048243
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22751F #721F75
analogous
#4D751F #22751F #1F7547
triadic
#22751F #1F2275 #751F22
tetradic
#22751F #1F4D75 #721F75 #75471F
square
#22751F #1F4D75 #721F75 #75471F
split-complementary
#22751F #471F75 #751F4D
monochromatic
#071806 #144512 #22751F #30A52C #46CD42
Accessibility & contrast
On white
5.78
#22751F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#22751F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #22751F
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22751F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22751F | 1.00 | 5.78 | 3.63 | 5.78 |
| #FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#786A11
Deuteranopia (green-blind)
#6E6327
Tritanopia (blue-blind)
#0D7164
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #22751f; /* rgb */ color: rgb(34, 117, 31); /* oklch */ color: oklch(49.5% 0.144 142.6);
Tailwind
colors: {
custom: {
50: '#6a9e60',
500: '#22751f',
950: '#000000',
},
}SCSS
$custom: #22751f; $custom-light: #6a9e60; $custom-dark: #000000;
JSON
{
"hex": "#22751f",
"rgb": {
"r": 34,
"g": 117,
"b": 31
},
"hsl": {
"h": 117.907,
"s": 58.108,
"l": 29.02
},
"oklch": {
"l": 0.49477,
"c": 0.14418,
"h": 142.6
},
"luminance": 0.13162
}Semantic roles & 50–950 ramp
primary
#22751F
secondary
#A547A9
accent
#46E1DC
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79