#3F7D0F#3F7D0F
#3F7D0F is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 52.7% C 0.149 H 135.8°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #3F7D0F |
|---|---|
| RGB | rgb(63, 125, 15) |
| HSL | hsl(94, 79%, 27%) |
| HSV | hsv(94, 88%, 49%) |
| CMYK | cmyk(49.6%, 0%, 88%, 51%) |
| CIE-LAB | lab(46.66, -38.27, 47.66) |
| CIE-LCH | lch(46.66, 61.12, 128.77°) |
| OKLab | oklab(52.75% -0.107 0.1042) |
| OKLCH | oklch(52.75% 0.149 135.8) |
| XYZ | xyz(9.4695, 15.7579, 2.9944) |
| Luminance | 0.1576 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dark Grass Green
#388004
ΔE00 1.46
Tree Green
#2A7E19
ΔE00 3.09
Green
#008000
ΔE00 4.54
Avocado
#568203
ΔE00 4.65
Forestgreen (CSS)
#228B22
ΔE00 6.10
Sap Green
#5C8B15
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F7D0F #4D0F7D
analogous
#767D0F #3F7D0F #0F7D16
triadic
#3F7D0F #0F3F7D #7D0F3F
tetradic
#3F7D0F #0F767D #4D0F7D #7D160F
square
#3F7D0F #0F767D #4D0F7D #7D160F
split-complementary
#3F7D0F #160F7D #7D0F76
monochromatic
#0E1B03 #234608 #3F7D0F #5BB416 #77E422
Accessibility & contrast
On white
5.06
#3F7D0F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#3F7D0F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F7D0F
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F7D0F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F7D0F | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#7A6D1E
Tritanopia (blue-blind)
#3C786A
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #3f7d0f; /* rgb */ color: rgb(63, 125, 15); /* oklch */ color: oklch(52.7% 0.149 135.8);
Tailwind
colors: {
custom: {
50: '#7ba35a',
500: '#3f7d0f',
950: '#000000',
},
}SCSS
$custom: #3f7d0f; $custom-light: #7ba35a; $custom-dark: #000000;
JSON
{
"hex": "#3f7d0f",
"rgb": {
"r": 63,
"g": 125,
"b": 15
},
"hsl": {
"h": 93.818,
"s": 78.571,
"l": 27.451
},
"oklch": {
"l": 0.52745,
"c": 0.14938,
"h": 135.8
},
"luminance": 0.15758
}Semantic roles & 50–950 ramp
primary
#3F7D0F
secondary
#7C34B4
accent
#33F5A0
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79