#438227#438227
#438227 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.5% C 0.140 H 137.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #438227 |
|---|---|
| RGB | rgb(67, 130, 39) |
| HSL | hsl(102, 54%, 33%) |
| HSV | hsv(102, 70%, 51%) |
| CMYK | cmyk(48.5%, 0%, 70%, 49%) |
| CIE-LAB | lab(48.64, -37.48, 41.31) |
| CIE-LCH | lch(48.64, 55.77, 132.22°) |
| OKLab | oklab(54.47% -0.1036 0.0944) |
| OKLCH | oklch(54.47% 0.14 137.6) |
| XYZ | xyz(10.6632, 17.3043, 4.6972) |
| Luminance | 0.1731 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Dark Grass Green
#388004
ΔE00 3.17
Tree Green
#2A7E19
ΔE00 3.21
Forestgreen (CSS)
#228B22
ΔE00 4.44
Green
#008000
ΔE00 5.13
Fern Green
#548D44
ΔE00 5.57
Avocado
#568203
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#438227 #662782
analogous
#708227 #438227 #278238
triadic
#438227 #274382 #822743
tetradic
#438227 #277082 #662782 #823827
square
#438227 #277082 #662782 #823827
split-complementary
#438227 #382782 #822770
monochromatic
#12240B #2B5319 #438227 #5BB135 #7BCD57
Accessibility & contrast
On white
4.71
#438227 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#438227 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #438227
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##438227 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##438227 | 1.00 | 4.71 | 4.46 | 4.71 |
| #FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86771A
Deuteranopia (green-blind)
#7E722F
Tritanopia (blue-blind)
#3F7D70
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #438227; /* rgb */ color: rgb(67, 130, 39); /* oklch */ color: oklch(54.5% 0.140 137.6);
Tailwind
colors: {
custom: {
50: '#7da766',
500: '#438227',
950: '#000000',
},
}SCSS
$custom: #438227; $custom-light: #7da766; $custom-dark: #000000;
JSON
{
"hex": "#438227",
"rgb": {
"r": 67,
"g": 130,
"b": 39
},
"hsl": {
"h": 101.538,
"s": 53.846,
"l": 33.137
},
"oklch": {
"l": 0.54471,
"c": 0.14018,
"h": 137.6
},
"luminance": 0.17305
}Semantic roles & 50–950 ramp
primary
#438227
secondary
#9453B1
accent
#4BDDB0
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A