#2F6710#2F6710
#2F6710 is a mid, vivid yellow-green. Relative luminance 0.103; OKLCH L 45.8% C 0.130 H 137.3°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2F6710 |
|---|---|
| RGB | rgb(47, 103, 16) |
| HSL | hsl(99, 73%, 23%) |
| HSV | hsv(99, 84%, 40%) |
| CMYK | cmyk(54.4%, 0%, 84.5%, 59.6%) |
| CIE-LAB | lab(38.45, -34.33, 39.70) |
| CIE-LCH | lch(38.45, 52.49, 130.85°) |
| OKLab | oklab(45.8% -0.0953 0.0879) |
| OKLCH | oklch(45.8% 0.13 137.3) |
| XYZ | xyz(6.1159, 10.3418, 2.1640) |
| Luminance | 0.1034 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Darkgreen
#006400
ΔE00 3.77
Deep Green
#02590F
ΔE00 6.27
Camouflage Green
#4B6113
ΔE00 6.60
Forest
#0B5509
ΔE00 6.78
Forest Green
#2D5A27
ΔE00 7.07
Navy Green
#35530A
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F6710 #481067
analogous
#5A6710 #2F6710 #10671D
triadic
#2F6710 #102F67 #67102F
tetradic
#2F6710 #105A67 #481067 #671D10
square
#2F6710 #105A67 #481067 #671D10
split-complementary
#2F6710 #1D1067 #67105A
monochromatic
#0C1A04 #173208 #2F6710 #479C18 #5FD120
Accessibility & contrast
On white
6.84
#2F6710 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#2F6710 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F6710
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F6710 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F6710 | 1.00 | 6.84 | 3.07 | 6.84 |
| #FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B5D00
Deuteranopia (green-blind)
#63591A
Tritanopia (blue-blind)
#2B6357
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2f6710; /* rgb */ color: rgb(47, 103, 16); /* oklch */ color: oklch(45.8% 0.130 137.3);
Tailwind
colors: {
custom: {
50: '#6e9357',
500: '#2f6710',
950: '#000000',
},
}SCSS
$custom: #2f6710; $custom-light: #6e9357; $custom-dark: #000000;
JSON
{
"hex": "#2f6710",
"rgb": {
"r": 47,
"g": 103,
"b": 16
},
"hsl": {
"h": 98.621,
"s": 73.109,
"l": 23.333
},
"oklch": {
"l": 0.45801,
"c": 0.12966,
"h": 137.3
},
"luminance": 0.10342
}Semantic roles & 50–950 ramp
primary
#2F6710
secondary
#79339F
accent
#38F0AE
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D03
muted
#7B7E78