#12621F#12621F
#12621F is a dark, vivid green. Relative luminance 0.090; OKLCH L 43.5% C 0.125 H 145.2°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #12621F |
|---|---|
| RGB | rgb(18, 98, 31) |
| HSL | hsl(130, 69%, 23%) |
| HSV | hsv(130, 82%, 38%) |
| CMYK | cmyk(81.6%, 0%, 68.4%, 61.6%) |
| CIE-LAB | lab(35.91, -38.12, 30.68) |
| CIE-LCH | lch(35.91, 48.94, 141.17°) |
| OKLab | oklab(43.49% -0.1028 0.0714) |
| OKLCH | oklch(43.49% 0.125 145.2) |
| XYZ | xyz(4.8641, 8.9623, 2.7696) |
| Luminance | 0.0896 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.22
Darkgreen
#006400
ΔE00 4.01
Forest
#0B5509
ΔE00 4.53
Forest Green
#2D5A27
ΔE00 4.76
Pine
#2B5D34
ΔE00 6.01
Spruce
#0A5F38
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12621F #621255
analogous
#2D6212 #12621F #126247
triadic
#12621F #1F1262 #621F12
tetradic
#12621F #122D62 #621255 #624712
square
#12621F #122D62 #621255 #624712
split-complementary
#12621F #471262 #62122D
monochromatic
#051A08 #092E0F #12621F #1B962F #25C940
Accessibility & contrast
On white
7.52
#12621F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#12621F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12621F
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12621F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12621F | 1.00 | 7.52 | 2.79 | 7.52 |
| #FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#645817
Deuteranopia (green-blind)
#5B5225
Tritanopia (blue-blind)
#005F54
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #12621f; /* rgb */ color: rgb(18, 98, 31); /* oklch */ color: oklch(43.5% 0.125 145.2);
Tailwind
colors: {
custom: {
50: '#60905e',
500: '#12621f',
950: '#000000',
},
}SCSS
$custom: #12621f; $custom-light: #60905e; $custom-dark: #000000;
JSON
{
"hex": "#12621f",
"rgb": {
"r": 18,
"g": 98,
"b": 31
},
"hsl": {
"h": 129.75,
"s": 68.966,
"l": 22.745
},
"oklch": {
"l": 0.43492,
"c": 0.1252,
"h": 145.2
},
"luminance": 0.08963
}Semantic roles & 50–950 ramp
primary
#12621F
secondary
#9A368A
accent
#3CCFEC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79