#7F9728#7F9728
#7F9728 is a light, vivid yellow-green. Relative luminance 0.268; OKLCH L 63.7% C 0.136 H 121.2°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #7F9728 |
|---|---|
| RGB | rgb(127, 151, 40) |
| HSL | hsl(73, 58%, 37%) |
| HSV | hsv(73, 74%, 59%) |
| CMYK | cmyk(15.9%, 0%, 73.5%, 40.8%) |
| CIE-LAB | lab(58.79, -23.96, 52.35) |
| CIE-LCH | lch(58.79, 57.58, 114.60°) |
| OKLab | oklab(63.65% -0.0705 0.1166) |
| OKLCH | oklch(63.65% 0.136 121.2) |
| XYZ | xyz(20.2023, 26.7985, 6.1154) |
| Luminance | 0.2680 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Ugly Green
#7A9703
ΔE00 2.44
Baby Shit Green
#889717
ΔE00 3.13
Dark Yellow Green
#728F02
ΔE00 3.67
Olivedrab
#6B8E23
ΔE00 4.65
Vomit Green
#89A203
ΔE00 4.81
Baby Poop Green
#8F9805
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F9728 #402897
analogous
#977828 #7F9728 #489728
triadic
#7F9728 #287F97 #97287F
tetradic
#7F9728 #289778 #402897 #972848
square
#7F9728 #289778 #402897 #972848
split-complementary
#7F9728 #284897 #782897
monochromatic
#2E360E #56671B #7F9728 #A8C735 #BDD664
Accessibility & contrast
On white
3.30
#7F9728 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.36
#7F9728 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F9728
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F9728 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F9728 | 1.00 | 3.30 | 6.36 | 6.36 |
| #FFFFFF | 3.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A08E13
Deuteranopia (green-blind)
#9D8E32
Tritanopia (blue-blind)
#868F82
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #7f9728; /* rgb */ color: rgb(127, 151, 40); /* oklch */ color: oklch(63.7% 0.136 121.2);
Tailwind
colors: {
custom: {
50: '#a7b56a',
500: '#7f9728',
950: '#000000',
},
}SCSS
$custom: #7f9728; $custom-light: #a7b56a; $custom-dark: #000000;
JSON
{
"hex": "#7f9728",
"rgb": {
"r": 127,
"g": 151,
"b": 40
},
"hsl": {
"h": 72.973,
"s": 58.115,
"l": 37.451
},
"oklch": {
"l": 0.63654,
"c": 0.13624,
"h": 121.2
},
"luminance": 0.26798
}Semantic roles & 50–950 ramp
primary
#7F9728
secondary
#735FBC
accent
#46E168
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A