#0D510C#0D510C
#0D510C is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.0% C 0.118 H 142.7°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).
Color values
| HEX | #0D510C |
|---|---|
| RGB | rgb(13, 81, 12) |
| HSL | hsl(119, 74%, 18%) |
| HSV | hsv(119, 85%, 32%) |
| CMYK | cmyk(84%, 0%, 85.2%, 68.2%) |
| CIE-LAB | lab(29.40, -34.68, 32.13) |
| CIE-LCH | lch(29.40, 47.28, 137.19°) |
| OKLab | oklab(38.01% -0.0942 0.0719) |
| OKLCH | oklch(38.01% 0.118 142.7) |
| XYZ | xyz(3.1746, 5.9966, 1.3379) |
| Luminance | 0.0600 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 1.48
Bottle Green
#044A05
ΔE00 2.17
Darkgreen (survey)
#054907
ΔE00 2.48
Deep Green
#02590F
ΔE00 2.66
British Racing Green
#05480D
ΔE00 3.12
Forest Green (survey)
#06470C
ΔE00 3.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0D510C #500C51
analogous
#2F510C #0D510C #0C512D
triadic
#0D510C #0C0D51 #510C0D
tetradic
#0D510C #0C2F51 #500C51 #512D0C
square
#0D510C #0C2F51 #500C51 #512D0C
split-complementary
#0D510C #2D0C51 #510C2F
monochromatic
#041B04 #041C04 #0D510C #168614 #1EBC1C
Accessibility & contrast
On white
9.55
#0D510C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#0D510C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0D510C
9.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0D510C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0D510C | 1.00 | 9.55 | 2.20 | 9.55 |
| #FFFFFF | 9.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534800
Deuteranopia (green-blind)
#4C4314
Tritanopia (blue-blind)
#004E44
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #0d510c; /* rgb */ color: rgb(13, 81, 12); /* oklch */ color: oklch(38.0% 0.118 142.7);
Tailwind
colors: {
custom: {
50: '#5a8351',
500: '#0d510c',
950: '#000000',
},
}SCSS
$custom: #0d510c; $custom-light: #5a8351; $custom-dark: #000000;
JSON
{
"hex": "#0d510c",
"rgb": {
"r": 13,
"g": 81,
"b": 12
},
"hsl": {
"h": 119.13,
"s": 74.194,
"l": 18.235
},
"oklch": {
"l": 0.38007,
"c": 0.11849,
"h": 142.7
},
"luminance": 0.05997
}Semantic roles & 50–950 ramp
primary
#0D510C
secondary
#8B2C8C
accent
#37F1EE
background
#F5F8F4
surface
#E9EFE7
border
#C5CAC3
text
#040A02
muted
#797C78