#0C751B#0C751B
#0C751B is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.0% C 0.153 H 144.2°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #0C751B |
|---|---|
| RGB | rgb(12, 117, 27) |
| HSL | hsl(129, 81%, 25%) |
| HSV | hsv(129, 90%, 46%) |
| CMYK | cmyk(89.7%, 0%, 76.9%, 54.1%) |
| CIE-LAB | lab(42.58, -45.85, 39.48) |
| CIE-LCH | lch(42.58, 60.51, 139.27°) |
| OKLab | oklab(49% -0.1238 0.0894) |
| OKLCH | oklch(49% 0.153 144.2) |
| XYZ | xyz(6.7103, 12.8790, 3.1689) |
| Luminance | 0.1288 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.06
Darkish Green
#287C37
ΔE00 4.55
Green
#008000
ΔE00 4.73
Darkgreen
#006400
ΔE00 5.77
Dark Grass Green
#388004
ΔE00 6.58
Jungle Green
#048243
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C751B #750C66
analogous
#32750C #0C751B #0C754F
triadic
#0C751B #1B0C75 #751B0C
tetradic
#0C751B #0C3275 #750C66 #754F0C
square
#0C751B #0C3275 #750C66 #754F0C
split-complementary
#0C751B #4F0C75 #750C32
monochromatic
#031C06 #063D0E #0C751B #12AD28 #17E435
Accessibility & contrast
On white
5.87
#0C751B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#0C751B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #0C751B
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C751B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C751B | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#77690A
Deuteranopia (green-blind)
#6D6225
Tritanopia (blue-blind)
#007264
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #0c751b; /* rgb */ color: rgb(12, 117, 27); /* oklch */ color: oklch(49.0% 0.153 144.2);
Tailwind
colors: {
custom: {
50: '#649e5e',
500: '#0c751b',
950: '#000000',
},
}SCSS
$custom: #0c751b; $custom-light: #649e5e; $custom-dark: #000000;
JSON
{
"hex": "#0c751b",
"rgb": {
"r": 12,
"g": 117,
"b": 27
},
"hsl": {
"h": 128.571,
"s": 81.395,
"l": 25.294
},
"oklch": {
"l": 0.49002,
"c": 0.15273,
"h": 144.2
},
"luminance": 0.1288
}Semantic roles & 50–950 ramp
primary
#0C751B
secondary
#AD2F9B
accent
#30DBF8
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E05
muted
#7A7E79