#2E630F#2E630F
#2E630F is a dark, vivid yellow-green. Relative luminance 0.095; OKLCH L 44.6% C 0.126 H 137.0°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2E630F |
|---|---|
| RGB | rgb(46, 99, 15) |
| HSL | hsl(98, 74%, 22%) |
| HSV | hsv(98, 85%, 39%) |
| CMYK | cmyk(53.5%, 0%, 84.8%, 61.2%) |
| CIE-LAB | lab(37.00, -33.03, 38.66) |
| CIE-LCH | lch(37.00, 50.85, 130.51°) |
| OKLab | oklab(44.6% -0.0918 0.0856) |
| OKLCH | oklch(44.6% 0.126 137) |
| XYZ | xyz(5.6746, 9.5386, 1.9940) |
| Luminance | 0.0954 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Darkgreen
#006400
ΔE00 3.76
Deep Green
#02590F
ΔE00 5.39
Forest
#0B5509
ΔE00 5.69
Navy Green
#35530A
ΔE00 6.00
Forest Green
#2D5A27
ΔE00 6.17
Camouflage Green
#4B6113
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E630F #440F63
analogous
#58630F #2E630F #0F631A
triadic
#2E630F #0F2E63 #630F2E
tetradic
#2E630F #0F5863 #440F63 #631A0F
square
#2E630F #0F5863 #440F63 #631A0F
split-complementary
#2E630F #1A0F63 #630F58
monochromatic
#0C1B04 #152E07 #2E630F #479817 #5FCD1F
Accessibility & contrast
On white
7.22
#2E630F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#2E630F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E630F
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E630F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E630F | 1.00 | 7.22 | 2.91 | 7.22 |
| #FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#675A00
Deuteranopia (green-blind)
#605519
Tritanopia (blue-blind)
#2B5F54
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2e630f; /* rgb */ color: rgb(46, 99, 15); /* oklch */ color: oklch(44.6% 0.126 137.0);
Tailwind
colors: {
custom: {
50: '#6d9056',
500: '#2e630f',
950: '#000000',
},
}SCSS
$custom: #2e630f; $custom-light: #6d9056; $custom-dark: #000000;
JSON
{
"hex": "#2e630f",
"rgb": {
"r": 46,
"g": 99,
"b": 15
},
"hsl": {
"h": 97.857,
"s": 73.684,
"l": 22.353
},
"oklch": {
"l": 0.44596,
"c": 0.12552,
"h": 137
},
"luminance": 0.09539
}Semantic roles & 50–950 ramp
primary
#2E630F
secondary
#75329C
accent
#37F0AC
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78