#228F64
Closest named color: Viridian (#1E9167). oklch(57.9% 0.117 161.6), rgb(34, 143, 100).
Aa
Black text reads best on this color (5.18:1).
About this color
#228F64 is a medium-dark, moderately saturated green. In OKLCH its lightness is 58%, its chroma 0.117 and its hue 162°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Viridian (#1E9167), ΔE 0.006 away. Black text reads best on it, at 5.18:1.
| Hue family | Greens |
| Lightness | medium-dark (58%) |
| Chroma | moderately saturated (0.117) |
| Temperature | in between |
| Nearest name | Viridian (#1E9167) |
| Black text | 5.18:1 |
| White text | 4.05:1 |
Values
| HEX | #228F64 |
| RGB | rgb(34, 143, 100) |
| HSL | hsl(156, 62%, 35%) |
| OKLCH | oklch(57.9% 0.117 161.6) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #228F64 | 4.05:1 | AA large text | Lc -72.9 | Content text, not long reading |
| Black text on #228F64 | 5.18:1 | AA | Lc 36.7 | Non-text elements, placeholder text |
| #228F64 text on white | 4.05:1 | AA large text | Lc 67.4 | Content text, not long reading |
| #228F64 text on black | 5.18:1 | AA | Lc -34.3 | Non-text elements, placeholder text |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 600.
-
Step 50
50
#F2F7F4
oklch(97.2% 0.007 160.1)
-
Step 100
100
#E1EDE7
oklch(93.5% 0.015 164.7)
-
Step 200
200
#C9DFD3
oklch(88.4% 0.029 162)
-
Step 300
300
#A3CCB6
oklch(81% 0.053 161.5)
-
Step 400
400
#6FB190
oklch(70.7% 0.084 161.5)
-
Step 500
500
#429D75
oklch(63% 0.107 162)
-
Step 600
600 (this color)
#228F64
oklch(57.9% 0.117 161.6)
-
Step 700
700
#00734D
oklch(49.1% 0.108 161.8)
-
Step 800
800
#0B5E3F
oklch(42.8% 0.09 161.4)
-
Step 900
900
#164D36
oklch(37.7% 0.07 161.9)
-
Step 950
950
#0F2D20
oklch(27% 0.044 162.7)
#228F64 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #8D8461 | 0.112 |
| Deuteranopia (no green cones) | #7F7A67 | 0.109 |
| Tritanopia (no blue cones) | #008F83 | 0.046 |
| Achromatopsia (no color) | #7E7E7E | 0.117 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #228F64
#228F64
oklch(57.9% 0.117 161.6)
- #A85C8E
#A85C8E
oklch(57.9% 0.117 341.5)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #228F64, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Viridian #1E9167 ΔE 0.006
- Sea Green #2E8B57 ΔE 0.018
- Light Forest Green #4F9153 ΔE 0.037
- Ocean Green #3D9973 ΔE 0.039
- Dark Sage #598556 ΔE 0.046
- Fern Green #548D44 ΔE 0.047
- Jungle Green #048243 ΔE 0.055
- Slate Green #658D6D ΔE 0.060
Use #228F64 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.