#2F6A10#2F6A10
#2F6A10 is a mid, vivid yellow-green. Relative luminance 0.110; OKLCH L 46.7% C 0.134 H 137.6°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #2F6A10 |
|---|---|
| RGB | rgb(47, 106, 16) |
| HSL | hsl(99, 74%, 24%) |
| HSV | hsv(99, 85%, 42%) |
| CMYK | cmyk(55.7%, 0%, 84.9%, 58.4%) |
| CIE-LAB | lab(39.49, -35.58, 40.67) |
| CIE-LCH | lch(39.49, 54.04, 131.18°) |
| OKLab | oklab(46.66% -0.0986 0.09) |
| OKLCH | oklch(46.66% 0.134 137.6) |
| XYZ | xyz(6.4196, 10.9493, 2.2653) |
| Luminance | 0.1095 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Darkgreen
#006400
ΔE00 4.01
Tree Green
#2A7E19
ΔE00 6.88
Deep Green
#02590F
ΔE00 7.01
Camouflage Green
#4B6113
ΔE00 7.07
Forest
#0B5509
ΔE00 7.63
Darkolivegreen
#556B2F
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F6A10 #4B106A
analogous
#5C6A10 #2F6A10 #106A1E
triadic
#2F6A10 #102F6A #6A102F
tetradic
#2F6A10 #105C6A #4B106A #6A1E10
square
#2F6A10 #105C6A #4B106A #6A1E10
split-complementary
#2F6A10 #1E106A #6A105C
monochromatic
#0C1B04 #173508 #2F6A10 #479F18 #5ED420
Accessibility & contrast
On white
6.58
#2F6A10 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#2F6A10 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F6A10
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F6A10 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F6A10 | 1.00 | 6.58 | 3.19 | 6.58 |
| #FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#665B1B
Tritanopia (blue-blind)
#2B665A
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2f6a10; /* rgb */ color: rgb(47, 106, 16); /* oklch */ color: oklch(46.7% 0.134 137.6);
Tailwind
colors: {
custom: {
50: '#6f9557',
500: '#2f6a10',
950: '#000000',
},
}SCSS
$custom: #2f6a10; $custom-light: #6f9557; $custom-dark: #000000;
JSON
{
"hex": "#2f6a10",
"rgb": {
"r": 47,
"g": 106,
"b": 16
},
"hsl": {
"h": 99.333,
"s": 73.77,
"l": 23.922
},
"oklch": {
"l": 0.46663,
"c": 0.1335,
"h": 137.6
},
"luminance": 0.1095
}Semantic roles & 50–950 ramp
primary
#2F6A10
secondary
#7C34A2
accent
#37F0B1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D03
muted
#7B7E78