#4F931C#4F931C
#4F931C is a mid, vivid yellow-green. Relative luminance 0.226; OKLCH L 59.5% C 0.162 H 135.4°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #4F931C |
|---|---|
| RGB | rgb(79, 147, 28) |
| HSL | hsl(94, 68%, 34%) |
| HSV | hsv(94, 81%, 58%) |
| CMYK | cmyk(46.3%, 0%, 81%, 42.4%) |
| CIE-LAB | lab(54.67, -41.40, 51.53) |
| CIE-LCH | lch(54.67, 66.10, 128.78°) |
| OKLab | oklab(59.55% -0.1157 0.114) |
| OKLCH | oklch(59.55% 0.162 135.4) |
| XYZ | xyz(13.8674, 22.6127, 4.7324) |
| Luminance | 0.2261 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass Green
#3F9B0B
ΔE00 3.21
Grassy Green
#419C03
ΔE00 3.49
Sap Green
#5C8B15
ΔE00 3.78
Mossy Green
#638B27
ΔE00 4.48
True Green
#089404
ΔE00 5.03
Olivedrab
#6B8E23
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F931C #601C93
analogous
#8B931C #4F931C #1C9325
triadic
#4F931C #1C4F93 #931C4F
tetradic
#4F931C #1C8B93 #601C93 #93251C
square
#4F931C #1C8B93 #601C93 #93251C
split-complementary
#4F931C #251C93 #931C8B
monochromatic
#182C08 #336012 #4F931C #6BC626 #8ADD4C
Accessibility & contrast
On white
3.80
#4F931C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.52
#4F931C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4F931C
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F931C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4F931C | 1.00 | 3.80 | 5.52 | 5.52 |
| #FFFFFF | 3.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#90812A
Tritanopia (blue-blind)
#4D8D7D
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #4f931c; /* rgb */ color: rgb(79, 147, 28); /* oklch */ color: oklch(59.5% 0.162 135.4);
Tailwind
colors: {
custom: {
50: '#87b363',
500: '#4f931c',
950: '#000000',
},
}SCSS
$custom: #4f931c; $custom-light: #87b363; $custom-dark: #000000;
JSON
{
"hex": "#4f931c",
"rgb": {
"r": 79,
"g": 147,
"b": 28
},
"hsl": {
"h": 94.286,
"s": 68,
"l": 34.314
},
"oklch": {
"l": 0.59546,
"c": 0.16247,
"h": 135.4
},
"luminance": 0.22614
}Semantic roles & 50–950 ramp
primary
#4F931C
secondary
#8E4CBF
accent
#3DEBA0
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A