#226914#226914
#226914 is a mid, vivid green. Relative luminance 0.105; OKLCH L 45.9% C 0.136 H 140.8°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #226914 |
|---|---|
| RGB | rgb(34, 105, 20) |
| HSL | hsl(110, 68%, 25%) |
| HSV | hsv(110, 81%, 41%) |
| CMYK | cmyk(67.6%, 0%, 81%, 58.8%) |
| CIE-LAB | lab(38.71, -38.56, 38.42) |
| CIE-LCH | lch(38.71, 54.44, 135.11°) |
| OKLab | oklab(45.9% -0.1055 0.086) |
| OKLCH | oklch(45.9% 0.136 140.8) |
| XYZ | xyz(5.8372, 10.4932, 2.3794) |
| Luminance | 0.1049 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.72
Deep Green
#02590F
ΔE00 5.70
Forest
#0B5509
ΔE00 6.61
Forest Green
#2D5A27
ΔE00 7.18
Tree Green
#2A7E19
ΔE00 7.24
Darkish Green
#287C37
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226914 #5B1469
analogous
#4D6914 #226914 #146931
triadic
#226914 #142269 #691422
tetradic
#226914 #144D69 #5B1469 #693114
square
#226914 #144D69 #5B1469 #693114
split-complementary
#226914 #311469 #69144D
monochromatic
#081A05 #11360A #226914 #339C1E #43D028
Accessibility & contrast
On white
6.78
#226914 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#226914 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #226914
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226914 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226914 | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C5F02
Deuteranopia (green-blind)
#63591E
Tritanopia (blue-blind)
#166559
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #226914; /* rgb */ color: rgb(34, 105, 20); /* oklch */ color: oklch(45.9% 0.136 140.8);
Tailwind
colors: {
custom: {
50: '#689559',
500: '#226914',
950: '#000000',
},
}SCSS
$custom: #226914; $custom-light: #689559; $custom-dark: #000000;
JSON
{
"hex": "#226914",
"rgb": {
"r": 34,
"g": 105,
"b": 20
},
"hsl": {
"h": 110.118,
"s": 68,
"l": 24.51
},
"oklch": {
"l": 0.45897,
"c": 0.13616,
"h": 140.8
},
"luminance": 0.10494
}Semantic roles & 50–950 ramp
primary
#226914
secondary
#8F39A0
accent
#3DEBCE
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070D04
muted
#7A7E79