#287230#287230
#287230 is a mid, vivid green. Relative luminance 0.127; OKLCH L 49.0% C 0.124 H 145.2°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #287230 |
|---|---|
| RGB | rgb(40, 114, 48) |
| HSL | hsl(126, 48%, 30%) |
| HSV | hsv(126, 65%, 45%) |
| CMYK | cmyk(64.9%, 0%, 57.9%, 55.3%) |
| CIE-LAB | lab(42.31, -37.57, 29.60) |
| CIE-LCH | lch(42.31, 47.83, 141.76°) |
| OKLab | oklab(49% -0.1017 0.0706) |
| OKLCH | oklch(49% 0.124 145.2) |
| XYZ | xyz(7.4254, 12.6984, 4.8555) |
| Luminance | 0.1270 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.46
Jungle Green
#048243
ΔE00 6.29
Tree Green
#2A7E19
ΔE00 6.36
Darkgreen
#006400
ΔE00 6.92
Green
#008000
ΔE00 7.92
Forest Green
#2D5A27
ΔE00 8.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#287230 #72286A
analogous
#457228 #287230 #287255
triadic
#287230 #302872 #723028
tetradic
#287230 #284572 #72286A #725528
square
#287230 #284572 #72286A #725528
split-complementary
#287230 #552872 #722845
monochromatic
#08170A #18451D #287230 #389F43 #52C25E
Accessibility & contrast
On white
5.93
#287230 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#287230 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #287230
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##287230 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##287230 | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#74682A
Deuteranopia (green-blind)
#6B6135
Tritanopia (blue-blind)
#176F63
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #287230; /* rgb */ color: rgb(40, 114, 48); /* oklch */ color: oklch(49.0% 0.124 145.2);
Tailwind
colors: {
custom: {
50: '#6b9b6a',
500: '#287230',
950: '#000000',
},
}SCSS
$custom: #287230; $custom-light: #6b9b6a; $custom-dark: #000000;
JSON
{
"hex": "#287230",
"rgb": {
"r": 40,
"g": 114,
"b": 48
},
"hsl": {
"h": 126.486,
"s": 48.052,
"l": 30.196
},
"oklch": {
"l": 0.49003,
"c": 0.12379,
"h": 145.2
},
"luminance": 0.12699
}Semantic roles & 50–950 ramp
primary
#287230
secondary
#A4529B
accent
#50C9D8
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A