#307512#307512
#307512 is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.9% C 0.146 H 138.6°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #307512 |
|---|---|
| RGB | rgb(48, 117, 18) |
| HSL | hsl(102, 73%, 26%) |
| HSV | hsv(102, 85%, 46%) |
| CMYK | cmyk(59%, 0%, 84.6%, 54.1%) |
| CIE-LAB | lab(43.35, -39.58, 43.63) |
| CIE-LCH | lch(43.35, 58.91, 132.21°) |
| OKLab | oklab(49.86% -0.1093 0.0965) |
| OKLCH | oklch(49.86% 0.146 138.6) |
| XYZ | xyz(7.6891, 13.3940, 2.7523) |
| Luminance | 0.1340 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.22
Dark Grass Green
#388004
ΔE00 4.36
Green
#008000
ΔE00 4.66
Darkish Green
#287C37
ΔE00 6.02
Darkgreen
#006400
ΔE00 6.54
Forestgreen (CSS)
#228B22
ΔE00 7.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#307512 #571275
analogous
#627512 #307512 #127526
triadic
#307512 #123075 #751230
tetradic
#307512 #126275 #571275 #752612
square
#307512 #126275 #571275 #752612
split-complementary
#307512 #261275 #751262
monochromatic
#0B1B04 #1A400A #307512 #46AA1A #5CDD24
Accessibility & contrast
On white
5.71
#307512 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#307512 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #307512
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##307512 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##307512 | 1.00 | 5.71 | 3.68 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#70641E
Tritanopia (blue-blind)
#297163
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #307512; /* rgb */ color: rgb(48, 117, 18); /* oklch */ color: oklch(49.9% 0.146 138.6);
Tailwind
colors: {
custom: {
50: '#719d5a',
500: '#307512',
950: '#000000',
},
}SCSS
$custom: #307512; $custom-light: #719d5a; $custom-dark: #000000;
JSON
{
"hex": "#307512",
"rgb": {
"r": 48,
"g": 117,
"b": 18
},
"hsl": {
"h": 101.818,
"s": 73.333,
"l": 26.471
},
"oklch": {
"l": 0.49859,
"c": 0.14579,
"h": 138.6
},
"luminance": 0.13395
}Semantic roles & 50–950 ramp
primary
#307512
secondary
#8837AC
accent
#38F0B8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79