#46811F#46811F
#46811F is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.3% C 0.143 H 135.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #46811F |
|---|---|
| RGB | rgb(70, 129, 31) |
| HSL | hsl(96, 61%, 31%) |
| HSV | hsv(96, 76%, 51%) |
| CMYK | cmyk(45.7%, 0%, 76%, 49.4%) |
| CIE-LAB | lab(48.39, -36.68, 44.32) |
| CIE-LCH | lch(48.39, 57.53, 129.61°) |
| OKLab | oklab(54.28% -0.1022 0.0996) |
| OKLCH | oklch(54.28% 0.143 135.8) |
| XYZ | xyz(10.6231, 17.1009, 4.0371) |
| Luminance | 0.1710 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dark Grass Green
#388004
ΔE00 2.39
Tree Green
#2A7E19
ΔE00 3.56
Avocado
#568203
ΔE00 4.40
Forestgreen (CSS)
#228B22
ΔE00 5.16
Green
#008000
ΔE00 5.28
Sap Green
#5C8B15
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#46811F #5A1F81
analogous
#77811F #46811F #1F8129
triadic
#46811F #1F4681 #811F46
tetradic
#46811F #1F7781 #5A1F81 #81291F
square
#46811F #1F7781 #5A1F81 #81291F
split-complementary
#46811F #291F81 #811F77
monochromatic
#101E07 #2B5013 #46811F #61B22B #7FD347
Accessibility & contrast
On white
4.75
#46811F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#46811F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #46811F
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##46811F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##46811F | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86760C
Deuteranopia (green-blind)
#7E7129
Tritanopia (blue-blind)
#447C6E
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #46811f; /* rgb */ color: rgb(70, 129, 31); /* oklch */ color: oklch(54.3% 0.143 135.8);
Tailwind
colors: {
custom: {
50: '#7fa662',
500: '#46811f',
950: '#000000',
},
}SCSS
$custom: #46811f; $custom-light: #7fa662; $custom-dark: #000000;
JSON
{
"hex": "#46811f",
"rgb": {
"r": 70,
"g": 129,
"b": 31
},
"hsl": {
"h": 96.122,
"s": 61.25,
"l": 31.373
},
"oklch": {
"l": 0.5428,
"c": 0.1427,
"h": 135.8
},
"luminance": 0.17102
}Semantic roles & 50–950 ramp
primary
#46811F
secondary
#8948B4
accent
#43E4A4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A