#38B331
Closest named color: Shamrock (#01B44C). oklch(67.4% 0.199 142.3), rgb(56, 179, 49).
Aa
Black text reads best on this color (7.66:1).
About this color
#38B331 is a medium-light, vivid green. In OKLCH its lightness is 67%, its chroma 0.199 and its hue 142°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Shamrock (#01B44C), ΔE 0.023 away. Black text reads best on it, at 7.66:1.
| Hue family | Greens |
| Lightness | medium-light (67%) |
| Chroma | vivid (0.199) |
| Temperature | in between |
| Nearest name | Shamrock (#01B44C) |
| Black text | 7.66:1 |
| White text | 2.74:1 |
Values
| HEX | #38B331 |
| RGB | rgb(56, 179, 49) |
| HSL | hsl(117, 57%, 45%) |
| OKLCH | oklch(67.4% 0.199 142.3) |
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 #38B331 | 2.74:1 | Fails | Lc -57.7 | Large or bold text, headings |
| Black text on #38B331 | 7.66:1 | AAA | Lc 51.5 | Large or bold text, headings |
| #38B331 text on white | 2.74:1 | Fails | Lc 52.5 | Large or bold text, headings |
| #38B331 text on black | 7.66:1 | AAA | Lc -49.3 | Large or bold text, headings |
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 400.
-
Step 50
50
#EFF9EE
oklch(97.2% 0.018 142.8)
-
Step 100
100
#DDF0DA
oklch(93.5% 0.036 141.4)
-
Step 200
200
#C0E5BC
oklch(88.4% 0.068 142.4)
-
Step 300
300
#91D58A
oklch(80.9% 0.124 142.2)
-
Step 400
400 (this color)
#38B331
oklch(67.4% 0.199 142.3)
-
Step 500
500
#08A700
oklch(63.2% 0.214 142.3)
-
Step 600
600
#068C00
oklch(55.5% 0.188 142.3)
-
Step 700
700
#047600
oklch(49.1% 0.166 142.3)
-
Step 800
800
#036100
oklch(42.7% 0.145 142.3)
-
Step 900
900
#025100
oklch(37.7% 0.128 142.3)
-
Step 950
950
#013100
oklch(27.2% 0.092 142.2)
#38B331 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) | #B7A21A | 0.140 |
| Deuteranopia (no green cones) | #A9983E | 0.141 |
| Tritanopia (no blue cones) | #19AE9A | 0.129 |
| Achromatopsia (no color) | #9C9C9C | 0.200 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #38B331
#38B331
oklch(67.4% 0.199 142.3)
- #CD64DD
#CD64DD
oklch(67.4% 0.199 322.2)
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 #38B331, closest first.
No curated palette has a color within ΔE 0.04 of #38B331.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Shamrock #01B44C ΔE 0.023
- Leafy Green #51B73B ΔE 0.023
- Grass #5CAC2D ΔE 0.029
- Medium Green #39AD48 ΔE 0.029
- Kelly Green #02AB2E ΔE 0.031
- Leaf Green #5CA904 ΔE 0.033
- Shamrock Green #02C14D ΔE 0.039
- Frog Green #58BC08 ΔE 0.040
Use #38B331 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.