#00af2c
a dark, electric green · cool · closest name: forestgreen
RGB
0, 175, 44
HSL
135°, 100%, 34%
CMYK
100, 0, 75, 31
Luminance
0.3084
Every format
| HEX | #00af2c |
| RGB | rgb(0, 175, 44) |
| HSL | hsl(135, 100%, 34%) |
| CMYK | cmyk(100%, 0%, 75%, 31%) |
| LAB | lab(62.4 -63.0 53.1) |
| LCH | lch(62.4 82.4 139.8) |
| OKLCH | oklch(0.655 0.208 144.7) |
Copy-ready code
/* CSS */
color: #00af2c;
background-color: #00af2c;
/* Tailwind (arbitrary) */
class="text-[#00af2c] bg-[#00af2c]"
/* SCSS */
$brand: #00af2c;
/* SwiftUI */
Color(red: 0.000, green: 0.686, blue: 0.173)
/* Android */
Color.parseColor("#00af2c")Accessibility — WCAG contrast
Aa
#00af2c on white: 2.93:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#00af2c on black: 7.17:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red0.0%
Green68.6%
Blue17.3%
CMYK percentages
Cyan100.0%
Magenta0.0%
Yellow74.9%
Key (black)31.4%
Color previews
#00af2c text on a black background
contrast 7.17:1
Card sample
#00af2c text on a white background
contrast 2.93:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #00af2c;
Background color
Panel with #00af2c background
background-color: #00af2c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #00af2c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(0, 175, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(0, 175, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #00af2c; background: linear-gradient(135deg, #00af2c, #00AFA1);