#7BAF46#7BAF46
#7BAF46 is a light, vivid yellow-green. Relative luminance 0.353; OKLCH L 69.5% C 0.147 H 131.4°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #7BAF46 |
|---|---|
| RGB | rgb(123, 175, 70) |
| HSL | hsl(90, 43%, 48%) |
| HSV | hsv(90, 60%, 69%) |
| CMYK | cmyk(29.7%, 0%, 60%, 31.4%) |
| CIE-LAB | lab(65.99, -34.75, 47.34) |
| CIE-LCH | lch(65.99, 58.73, 126.28°) |
| OKLab | oklab(69.5% -0.0973 0.1102) |
| OKLCH | oklch(69.5% 0.147 131.4) |
| XYZ | xyz(24.6036, 35.3123, 11.3128) |
| Luminance | 0.3531 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Nasty Green
#70B23F
ΔE00 2.09
Leaf
#71AA34
ΔE00 2.43
Turtle Green
#75B84F
ΔE00 3.14
Asparagus
#77AB56
ΔE00 3.35
Grass
#5CAC2D
ΔE00 4.44
Fern (survey)
#63A950
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7BAF46 #7A46AF
analogous
#AFAE46 #7BAF46 #47AF46
triadic
#7BAF46 #467BAF #AF467B
tetradic
#7BAF46 #46AFAE #7A46AF #AF4647
square
#7BAF46 #46AFAE #7A46AF #AF4647
split-complementary
#7BAF46 #4647AF #AE46AF
monochromatic
#3E5823 #5C8335 #7BAF46 #9AC56D #B8D699
Accessibility & contrast
On white
2.60
#7BAF46 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.06
#7BAF46 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #7BAF46
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7BAF46 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7BAF46 | 1.00 | 2.60 | 8.06 | 8.06 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A33B
Deuteranopia (green-blind)
#AF9F4E
Tritanopia (blue-blind)
#7DA898
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #7baf46; /* rgb */ color: rgb(123, 175, 70); /* oklch */ color: oklch(69.5% 0.147 131.4);
Tailwind
colors: {
custom: {
50: '#a4c77d',
500: '#7baf46',
950: '#000000',
},
}SCSS
$custom: #7baf46; $custom-light: #a4c77d; $custom-dark: #000000;
JSON
{
"hex": "#7baf46",
"rgb": {
"r": 123,
"g": 175,
"b": 70
},
"hsl": {
"h": 89.714,
"s": 42.857,
"l": 48.039
},
"oklch": {
"l": 0.69497,
"c": 0.14702,
"h": 131.4
},
"luminance": 0.35313
}Semantic roles & 50–950 ramp
primary
#7BAF46
secondary
#A88EC2
accent
#55D393
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#0F130A
muted
#7F827C