#26731F#26731F
#26731F is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.0% C 0.140 H 141.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #26731F |
|---|---|
| RGB | rgb(38, 115, 31) |
| HSL | hsl(115, 58%, 29%) |
| HSV | hsv(115, 73%, 45%) |
| CMYK | cmyk(67%, 0%, 73%, 54.9%) |
| CIE-LAB | lab(42.42, -40.46, 37.84) |
| CIE-LCH | lch(42.42, 55.40, 136.92°) |
| OKLab | oklab(49.02% -0.1103 0.0864) |
| OKLCH | oklch(49.02% 0.14 141.9) |
| XYZ | xyz(7.1770, 12.7718, 3.3830) |
| Luminance | 0.1277 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.19
Darkish Green
#287C37
ΔE00 4.50
Green
#008000
ΔE00 5.57
Darkgreen
#006400
ΔE00 5.60
Dark Grass Green
#388004
ΔE00 6.39
Jungle Green
#048243
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#26731F #6C1F73
analogous
#50731F #26731F #1F7342
triadic
#26731F #1F2673 #731F26
tetradic
#26731F #1F5073 #6C1F73 #73421F
square
#26731F #1F5073 #6C1F73 #73421F
split-complementary
#26731F #421F73 #731F50
monochromatic
#081806 #164312 #26731F #36A32C #4CCC41
Accessibility & contrast
On white
5.91
#26731F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#26731F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #26731F
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##26731F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##26731F | 1.00 | 5.91 | 3.55 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766812
Deuteranopia (green-blind)
#6D6227
Tritanopia (blue-blind)
#176F62
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #26731f; /* rgb */ color: rgb(38, 115, 31); /* oklch */ color: oklch(49.0% 0.140 141.9);
Tailwind
colors: {
custom: {
50: '#6b9c60',
500: '#26731f',
950: '#000000',
},
}SCSS
$custom: #26731f; $custom-light: #6b9c60; $custom-dark: #000000;
JSON
{
"hex": "#26731f",
"rgb": {
"r": 38,
"g": 115,
"b": 31
},
"hsl": {
"h": 115,
"s": 57.534,
"l": 28.627
},
"oklch": {
"l": 0.49022,
"c": 0.1401,
"h": 141.9
},
"luminance": 0.12772
}Semantic roles & 50–950 ramp
primary
#26731F
secondary
#9F47A7
accent
#47E1D4
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79