#2A670F#2A670F
#2A670F is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.6% C 0.133 H 138.5°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2A670F |
|---|---|
| RGB | rgb(42, 103, 15) |
| HSL | hsl(102, 75%, 23%) |
| HSV | hsv(102, 85%, 40%) |
| CMYK | cmyk(59.2%, 0%, 85.4%, 59.6%) |
| CIE-LAB | lab(38.25, -35.95, 39.76) |
| CIE-LCH | lch(38.25, 53.60, 132.11°) |
| OKLab | oklab(45.58% -0.0993 0.088) |
| OKLCH | oklch(45.58% 0.133 138.5) |
| XYZ | xyz(5.8911, 10.2267, 2.1154) |
| Luminance | 0.1023 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.13
Deep Green
#02590F
ΔE00 5.85
Forest
#0B5509
ΔE00 6.46
Forest Green
#2D5A27
ΔE00 7.05
Camouflage Green
#4B6113
ΔE00 7.25
Navy Green
#35530A
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A670F #4C0F67
analogous
#56670F #2A670F #0F6720
triadic
#2A670F #0F2A67 #670F2A
tetradic
#2A670F #0F5667 #4C0F67 #67200F
square
#2A670F #0F5667 #4C0F67 #67200F
split-complementary
#2A670F #200F67 #670F56
monochromatic
#0B1B04 #143207 #2A670F #409C17 #56D21F
Accessibility & contrast
On white
6.90
#2A670F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#2A670F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A670F
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A670F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A670F | 1.00 | 6.90 | 3.05 | 6.90 |
| #FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#63581A
Tritanopia (blue-blind)
#246357
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2a670f; /* rgb */ color: rgb(42, 103, 15); /* oklch */ color: oklch(45.6% 0.133 138.5);
Tailwind
colors: {
custom: {
50: '#6c9356',
500: '#2a670f',
950: '#000000',
},
}SCSS
$custom: #2a670f; $custom-light: #6c9356; $custom-dark: #000000;
JSON
{
"hex": "#2a670f",
"rgb": {
"r": 42,
"g": 103,
"b": 15
},
"hsl": {
"h": 101.591,
"s": 74.576,
"l": 23.137
},
"oklch": {
"l": 0.45577,
"c": 0.13268,
"h": 138.5
},
"luminance": 0.10227
}Semantic roles & 50–950 ramp
primary
#2A670F
secondary
#7E32A0
accent
#37F1B8
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D03
muted
#7A7E78