#498D1F#498D1F
#498D1F is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 57.7% C 0.157 H 136.4°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #498D1F |
|---|---|
| RGB | rgb(73, 141, 31) |
| HSL | hsl(97, 64%, 34%) |
| HSV | hsv(97, 78%, 55%) |
| CMYK | cmyk(48.2%, 0%, 78%, 44.7%) |
| CIE-LAB | lab(52.47, -40.72, 48.37) |
| CIE-LCH | lch(52.47, 63.23, 130.10°) |
| OKLab | oklab(57.67% -0.1133 0.108) |
| OKLCH | oklch(57.67% 0.157 136.4) |
| XYZ | xyz(12.5195, 20.5643, 4.6057) |
| Luminance | 0.2056 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sap Green
#5C8B15
ΔE00 3.74
Forestgreen (CSS)
#228B22
ΔE00 4.33
Mossy Green
#638B27
ΔE00 4.38
True Green
#089404
ΔE00 4.88
Grass Green
#3F9B0B
ΔE00 5.02
Moss Green (survey)
#658B38
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#498D1F #631F8D
analogous
#808D1F #498D1F #1F8D2C
triadic
#498D1F #1F498D #8D1F49
tetradic
#498D1F #1F808D #631F8D #8D2C1F
square
#498D1F #1F808D #631F8D #8D2C1F
split-complementary
#498D1F #2C1F8D #8D1F80
monochromatic
#152909 #2F5B14 #498D1F #63BF2A #83D84E
Accessibility & contrast
On white
4.11
#498D1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.11
#498D1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #498D1F
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##498D1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##498D1F | 1.00 | 4.11 | 5.11 | 5.11 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928104
Deuteranopia (green-blind)
#897B2B
Tritanopia (blue-blind)
#468878
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #498d1f; /* rgb */ color: rgb(73, 141, 31); /* oklch */ color: oklch(57.7% 0.157 136.4);
Tailwind
colors: {
custom: {
50: '#83af64',
500: '#498d1f',
950: '#000000',
},
}SCSS
$custom: #498d1f; $custom-light: #83af64; $custom-dark: #000000;
JSON
{
"hex": "#498d1f",
"rgb": {
"r": 73,
"g": 141,
"b": 31
},
"hsl": {
"h": 97.091,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.57669,
"c": 0.15653,
"h": 136.4
},
"luminance": 0.20565
}Semantic roles & 50–950 ramp
primary
#498D1F
secondary
#914DBB
accent
#41E7A8
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A