#2A931F#2A931F
#2A931F is a mid, vivid green. Relative luminance 0.215; OKLCH L 58.2% C 0.177 H 141.8°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2A931F |
|---|---|
| RGB | rgb(42, 147, 31) |
| HSL | hsl(114, 65%, 35%) |
| HSV | hsv(114, 79%, 58%) |
| CMYK | cmyk(71.4%, 0%, 78.9%, 42.4%) |
| CIE-LAB | lab(53.45, -51.07, 48.96) |
| CIE-LCH | lch(53.45, 70.75, 136.21°) |
| OKLab | oklab(58.19% -0.1392 0.1096) |
| OKLCH | oklch(58.19% 0.177 141.8) |
| XYZ | xyz(11.6352, 21.4573, 4.8246) |
| Luminance | 0.2146 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
True Green
#089404
ΔE00 1.90
Irish Green
#019529
ΔE00 2.30
Emerald Green
#028F1E
ΔE00 2.38
Forestgreen (CSS)
#228B22
ΔE00 3.07
Kelley Green
#009337
ΔE00 4.08
Grass Green
#3F9B0B
ΔE00 4.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A931F #881F93
analogous
#64931F #2A931F #1F934E
triadic
#2A931F #1F2A93 #931F2A
tetradic
#2A931F #1F6493 #881F93 #934E1F
square
#2A931F #1F6493 #881F93 #934E1F
split-complementary
#2A931F #4E1F93 #931F64
monochromatic
#0D2E0A #1C6014 #2A931F #38C62A #5FDA52
Accessibility & contrast
On white
3.97
#2A931F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.29
#2A931F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A931F
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A931F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A931F | 1.00 | 3.97 | 5.29 | 5.29 |
| #FFFFFF | 3.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#978501
Deuteranopia (green-blind)
#8B7D2C
Tritanopia (blue-blind)
#0E8E7D
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #2a931f; /* rgb */ color: rgb(42, 147, 31); /* oklch */ color: oklch(58.2% 0.177 141.8);
Tailwind
colors: {
custom: {
50: '#74b464',
500: '#2a931f',
950: '#000000',
},
}SCSS
$custom: #2a931f; $custom-light: #74b464; $custom-dark: #000000;
JSON
{
"hex": "#2a931f",
"rgb": {
"r": 42,
"g": 147,
"b": 31
},
"hsl": {
"h": 114.31,
"s": 65.169,
"l": 34.902
},
"oklch": {
"l": 0.58192,
"c": 0.17716,
"h": 141.8
},
"luminance": 0.21459
}Semantic roles & 50–950 ramp
primary
#2A931F
secondary
#B350BE
accent
#40E8D8
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A