#2F6612#2F6612
#2F6612 is a mid, vivid yellow-green. Relative luminance 0.102; OKLCH L 45.5% C 0.127 H 137.4°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2F6612 |
|---|---|
| RGB | rgb(47, 102, 18) |
| HSL | hsl(99, 70%, 24%) |
| HSV | hsv(99, 82%, 40%) |
| CMYK | cmyk(53.9%, 0%, 82.4%, 60%) |
| CIE-LAB | lab(38.11, -33.79, 38.71) |
| CIE-LCH | lch(38.11, 51.38, 131.12°) |
| OKLab | oklab(45.53% -0.0937 0.0862) |
| OKLCH | oklch(45.53% 0.127 137.4) |
| XYZ | xyz(6.0326, 10.1503, 2.2135) |
| Luminance | 0.1015 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Darkgreen
#006400
ΔE00 3.76
Deep Green
#02590F
ΔE00 5.95
Forest
#0B5509
ΔE00 6.43
Camouflage Green
#4B6113
ΔE00 6.53
Forest Green
#2D5A27
ΔE00 6.62
Navy Green
#35530A
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F6612 #491266
analogous
#596612 #2F6612 #12661F
triadic
#2F6612 #122F66 #66122F
tetradic
#2F6612 #125966 #491266 #661F12
square
#2F6612 #125966 #491266 #661F12
split-complementary
#2F6612 #1F1266 #661259
monochromatic
#0C1A05 #173209 #2F6612 #479A1B #5FCE24
Accessibility & contrast
On white
6.93
#2F6612 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#2F6612 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F6612
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F6612 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F6612 | 1.00 | 6.93 | 3.03 | 6.93 |
| #FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#62581B
Tritanopia (blue-blind)
#2B6256
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2f6612; /* rgb */ color: rgb(47, 102, 18); /* oklch */ color: oklch(45.5% 0.127 137.4);
Tailwind
colors: {
custom: {
50: '#6e9257',
500: '#2f6612',
950: '#000000',
},
}SCSS
$custom: #2f6612; $custom-light: #6e9257; $custom-dark: #000000;
JSON
{
"hex": "#2f6612",
"rgb": {
"r": 47,
"g": 102,
"b": 18
},
"hsl": {
"h": 99.286,
"s": 70,
"l": 23.529
},
"oklch": {
"l": 0.45526,
"c": 0.1273,
"h": 137.4
},
"luminance": 0.10151
}Semantic roles & 50–950 ramp
primary
#2F6612
secondary
#7A369E
accent
#3BEDAF
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D03
muted
#7B7E78