#25731F#25731F
#25731F is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.0% C 0.141 H 142.1°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #25731F |
|---|---|
| RGB | rgb(37, 115, 31) |
| HSL | hsl(116, 58%, 29%) |
| HSV | hsv(116, 73%, 45%) |
| CMYK | cmyk(67.8%, 0%, 73%, 54.9%) |
| CIE-LAB | lab(42.39, -40.70, 37.81) |
| CIE-LCH | lch(42.39, 55.55, 137.11°) |
| OKLab | oklab(48.99% -0.1109 0.0863) |
| OKLCH | oklch(48.99% 0.141 142.1) |
| XYZ | xyz(7.1406, 12.7530, 3.3813) |
| Luminance | 0.1275 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.22
Darkish Green
#287C37
ΔE00 4.48
Green
#008000
ΔE00 5.57
Darkgreen
#006400
ΔE00 5.57
Dark Grass Green
#388004
ΔE00 6.44
Jungle Green
#048243
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25731F #6D1F73
analogous
#4F731F #25731F #1F7343
triadic
#25731F #1F2573 #731F25
tetradic
#25731F #1F4F73 #6D1F73 #73431F
square
#25731F #1F4F73 #6D1F73 #73431F
split-complementary
#25731F #431F73 #731F4F
monochromatic
#081806 #154312 #25731F #35A32C #4BCC41
Accessibility & contrast
On white
5.91
#25731F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#25731F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #25731F
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25731F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25731F | 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)
#6C6227
Tritanopia (blue-blind)
#156F62
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #25731f; /* rgb */ color: rgb(37, 115, 31); /* oklch */ color: oklch(49.0% 0.141 142.1);
Tailwind
colors: {
custom: {
50: '#6b9c60',
500: '#25731f',
950: '#000000',
},
}SCSS
$custom: #25731f; $custom-light: #6b9c60; $custom-dark: #000000;
JSON
{
"hex": "#25731f",
"rgb": {
"r": 37,
"g": 115,
"b": 31
},
"hsl": {
"h": 115.714,
"s": 57.534,
"l": 28.627
},
"oklch": {
"l": 0.4899,
"c": 0.1405,
"h": 142.1
},
"luminance": 0.12754
}Semantic roles & 50–950 ramp
primary
#25731F
secondary
#A047A7
accent
#47E1D6
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79