#31945E#31945E
#31945E is a mid, vivid green. Relative luminance 0.226; OKLCH L 59.5% C 0.123 H 155.5°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #31945E |
|---|---|
| RGB | rgb(49, 148, 94) |
| HSL | hsl(147, 50%, 39%) |
| HSV | hsv(147, 67%, 58%) |
| CMYK | cmyk(66.9%, 0%, 36.5%, 42%) |
| CIE-LAB | lab(54.70, -41.46, 20.41) |
| CIE-LCH | lch(54.70, 46.21, 153.79°) |
| OKLab | oklab(59.52% -0.1123 0.0512) |
| OKLCH | oklch(59.52% 0.123 155.5) |
| XYZ | xyz(13.8757, 22.6395, 14.2261) |
| Luminance | 0.2264 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Sea Green
#2E8B57
ΔE00 3.14
Viridian
#1E9167
ΔE00 3.61
Light Forest Green
#4F9153
ΔE00 4.64
Ocean Green
#3D9973
ΔE00 4.75
Greenish
#40A368
ΔE00 5.04
Teal Green
#25A36F
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31945E #943167
analogous
#359431 #31945E #31948F
triadic
#31945E #5E3194 #945E31
tetradic
#31945E #313594 #943167 #948F31
square
#31945E #313594 #943167 #948F31
split-complementary
#31945E #8F3194 #943135
monochromatic
#133824 #226641 #31945E #42C07B #70D09B
Accessibility & contrast
On white
3.80
#31945E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.53
#31945E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #31945E
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31945E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31945E | 1.00 | 3.80 | 5.53 | 5.53 |
| #FFFFFF | 3.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#93885A
Deuteranopia (green-blind)
#877F61
Tritanopia (blue-blind)
#009386
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #31945e; /* rgb */ color: rgb(49, 148, 94); /* oklch */ color: oklch(59.5% 0.123 155.5);
Tailwind
colors: {
custom: {
50: '#75b48c',
500: '#31945e',
950: '#000000',
},
}SCSS
$custom: #31945e; $custom-light: #75b48c; $custom-dark: #000000;
JSON
{
"hex": "#31945e",
"rgb": {
"r": 49,
"g": 148,
"b": 94
},
"hsl": {
"h": 147.273,
"s": 50.254,
"l": 38.627
},
"oklch": {
"l": 0.5952,
"c": 0.12347,
"h": 155.5
},
"luminance": 0.22641
}Semantic roles & 50–950 ramp
primary
#31945E
secondary
#B76994
accent
#4E9ADA
background
#F7FBF8
surface
#EEF6F0
border
#C9D0CB
text
#09110C
muted
#7B807D