#228913
a dark, electric green · cool · closest name: Forest Green
At a glance
Every number on this page in one read: what #228913 is made of, how bright it looks, and which way it leans.
Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #228913 |
| RGB | rgb(34, 137, 19) |
| HSL | hsl(112, 76%, 31%) |
| CMYK | cmyk(75%, 0%, 86%, 46%) |
| LAB | lab(49.8 -49.9 49.1) |
| LCH | lch(49.8 70.0 135.5) |
| OKLCH | oklch(0.551 0.174 141.5) |
| Decimal | 2263315 |
| Display P3 | color(display-p3 0.133 0.537 0.075) |
Copy-ready code
/* CSS */
color: #228913;
background-color: #228913;
/* Tailwind (arbitrary) */
class="text-[#228913] bg-[#228913]"
/* SCSS */
$brand: #228913;
/* SwiftUI */
Color(red: 0.133, green: 0.537, blue: 0.075)
/* Android */
Color.parseColor("#228913")
/* Flutter */
Color(0xFF228913)
/* Python / OpenCV (BGR) */
(19, 137, 34)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #228913 is pinned to step 800; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.
:root {
--brand-50: #F4FCF3;
--brand-100: #E9F9E7;
--brand-200: #CDF4C8;
--brand-300: #A7F19C;
--brand-400: #7BEA6B;
--brand-500: #4FE43A;
--brand-600: #35D71E;
--brand-700: #2CB319;
--brand-800: #228913;
--brand-900: #1D6813;
--brand-950: #12410C;
--brand: #228913;
--brand-ink: #000000;
}Colors that work with #228913
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #228913
Derived from its contrast, chroma and lightness — not from taste.
- ✓Body text and links on white
- ✓Text and icons on dark surfaces
- ✓Primary buttons and calls to action
- ✓Focus rings, active and selected states
- ✓Headers, footers and dark-mode surfaces
- ✓Brand accents, badges and data highlights
- ⚠Full-page backgrounds — tiring over long sessions
- ⚠Black text placed on it
- ⚠Pairing with a same-lightness hue — edges vibrate
Similar colors
One move away from this hex in each direction. Every swatch is its own page.
Color relationships
The wheel positions with their names attached, so you can grab the one you actually need.
| Complementary | #7A1389 | Directly opposite — maximum tension | |
| Analogous left | #5D8913 | Neighbour, quieter | |
| Analogous right | #13893F | Neighbour, quieter | |
| Split-complement 1 | #3F1389 | Contrast without the clash | |
| Split-complement 2 | #89135D | Contrast without the clash | |
| Triadic 1 | #132289 | Even thirds — balanced and loud | |
| Triadic 2 | #891322 | Even thirds — balanced and loud | |
| Tetradic | #135D89 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#228913 text on a black background
contrast 4.66:1
#228913 text on a white background
contrast 4.51:1
CSS3 live lab
The quick brown fox
color: #228913;
background-color: #228913;
Glowing headline
text-shadow: 2px 2px 8px #228913;
Soft neon halo
text-shadow: 0 0 14px rgba(34, 137, 19, 0.45);
box-shadow: 0 12px 32px -8px rgba(34, 137, 19, 0.45);
border: 3px solid #228913; background: linear-gradient(135deg, #228913, #138953);
Monochromatic scale
Palettes built from #228913
Shades — darker
Tints — lighter
Color harmonies
Nearest named colors
Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.
Closest color with a full write-up: Forest Green (#228b22) — ΔE2000 1.6 away, with its history, psychology and brand usage.
#228913 in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.
#228913, answered
What color is #228913?
#228913 is a dark electric green, closest to Forest Green (ΔE2000 1.6). It sits at 112° on the hue wheel with 76% saturation and 31% lightness, which reads as cool.
What is the RGB value of #228913?
rgb(34, 137, 19) — 34 red, 137 green and 19 blue out of 255, or 13.3% / 53.7% / 7.5% by channel.
Is #228913 a light or a dark color?
It is a mid-tone. Relative luminance is 0.1828 and perceived brightness is 42%, so black text on it reaches 4.66:1.
Should I use black or white text on #228913?
Black. It scores 4.66:1 against #228913, versus 4.51:1 for white — AA at any size.
What is the complementary color of #228913?
#7A1389 sits directly opposite on the wheel. Softer options are the split-complements #3F1389 and #89135D, which give the same contrast with far less vibration.
What colors go well with #228913?
For interface work: #F5FAF4 as the surface, #C5EDC0 for borders, #559B4B for secondary text, #5D108C as an accent and #1C7010 for hover and pressed states. For a palette, the analogous pair #5D8913 and #13893F stays calm, while #7A1389 is the loudest partner.
What is #228913 in CMYK for printing?
cmyk(75%, 0%, 86%, 46%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.
Is #228913 warm or cool?
Cool — it scores 59 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #4D8913; nudged cooler, #118B2F.