#0F5126#0F5126
#0F5126 is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.4% C 0.096 H 150.2°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5126 |
|---|---|
| RGB | rgb(15, 81, 38) |
| HSL | hsl(141, 69%, 19%) |
| HSV | hsv(141, 81%, 32%) |
| CMYK | cmyk(81.5%, 0%, 53.1%, 68.2%) |
| CIE-LAB | lab(29.73, -30.93, 19.59) |
| CIE-LCH | lch(29.73, 36.61, 147.66°) |
| OKLab | oklab(38.38% -0.0832 0.0477) |
| OKLCH | oklch(38.38% 0.096 150.2) |
| XYZ | xyz(3.4890, 6.1260, 2.8319) |
| Luminance | 0.0613 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine Green
#0A481E
ΔE00 2.80
Pine
#2B5D34
ΔE00 4.69
Evergreen
#05472A
ΔE00 4.90
British Racing Green
#05480D
ΔE00 4.92
Forest Green
#2D5A27
ΔE00 4.96
Spruce
#0A5F38
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5126 #510F3A
analogous
#19510F #0F5126 #0F5147
triadic
#0F5126 #260F51 #51260F
tetradic
#0F5126 #0F1951 #510F3A #51470F
square
#0F5126 #0F1951 #510F3A #51470F
split-complementary
#0F5126 #470F51 #510F19
monochromatic
#051A0C #051D0E #0F5126 #19853E #22B856
Accessibility & contrast
On white
9.44
#0F5126 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#0F5126 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5126
9.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5126 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5126 | 1.00 | 9.44 | 2.23 | 9.44 |
| #FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524923
Deuteranopia (green-blind)
#4A4429
Tritanopia (blue-blind)
#004F47
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #0f5126; /* rgb */ color: rgb(15, 81, 38); /* oklch */ color: oklch(38.4% 0.096 150.2);
Tailwind
colors: {
custom: {
50: '#598361',
500: '#0f5126',
950: '#000000',
},
}SCSS
$custom: #0f5126; $custom-light: #598361; $custom-dark: #000000;
JSON
{
"hex": "#0f5126",
"rgb": {
"r": 15,
"g": 81,
"b": 38
},
"hsl": {
"h": 140.909,
"s": 68.75,
"l": 18.824
},
"oklch": {
"l": 0.3838,
"c": 0.09587,
"h": 150.2
},
"luminance": 0.06126
}Semantic roles & 50–950 ramp
primary
#0F5126
secondary
#8B316C
accent
#3CAEEC
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A05
muted
#797C79