#12621C#12621C
#12621C is a dark, vivid green. Relative luminance 0.089; OKLCH L 43.5% C 0.128 H 144.6°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #12621C |
|---|---|
| RGB | rgb(18, 98, 28) |
| HSL | hsl(128, 69%, 23%) |
| HSV | hsv(128, 82%, 38%) |
| CMYK | cmyk(81.6%, 0%, 71.4%, 61.6%) |
| CIE-LAB | lab(35.88, -38.48, 32.07) |
| CIE-LCH | lch(35.88, 50.09, 140.19°) |
| OKLab | oklab(43.46% -0.1039 0.074) |
| OKLCH | oklch(43.46% 0.128 144.6) |
| XYZ | xyz(4.8264, 8.9472, 2.5710) |
| Luminance | 0.0895 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.03
Darkgreen
#006400
ΔE00 3.48
Forest
#0B5509
ΔE00 4.33
Forest Green
#2D5A27
ΔE00 4.99
Pine
#2B5D34
ΔE00 6.45
Spruce
#0A5F38
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12621C #621258
analogous
#306212 #12621C #126244
triadic
#12621C #1C1262 #621C12
tetradic
#12621C #123062 #621258 #624412
square
#12621C #123062 #621258 #624412
split-complementary
#12621C #441262 #621230
monochromatic
#051A07 #092E0D #12621C #1B962B #25C93A
Accessibility & contrast
On white
7.53
#12621C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#12621C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12621C
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12621C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12621C | 1.00 | 7.53 | 2.79 | 7.53 |
| #FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#645813
Deuteranopia (green-blind)
#5B5223
Tritanopia (blue-blind)
#005F54
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #12621c; /* rgb */ color: rgb(18, 98, 28); /* oklch */ color: oklch(43.5% 0.128 144.6);
Tailwind
colors: {
custom: {
50: '#60905c',
500: '#12621c',
950: '#000000',
},
}SCSS
$custom: #12621c; $custom-light: #60905c; $custom-dark: #000000;
JSON
{
"hex": "#12621c",
"rgb": {
"r": 18,
"g": 98,
"b": 28
},
"hsl": {
"h": 127.5,
"s": 68.966,
"l": 22.745
},
"oklch": {
"l": 0.43459,
"c": 0.1276,
"h": 144.6
},
"luminance": 0.08948
}Semantic roles & 50–950 ramp
primary
#12621C
secondary
#9A368E
accent
#3CD6EC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79