#255F28
Closest named color: Pine (#2B5D34). oklch(43.3% 0.105 144.4), rgb(37, 95, 40).
Aa
White text reads best on this color (7.64:1).
About this color
#255F28 is a dark, moderately saturated green. In OKLCH its lightness is 43%, its chroma 0.105 and its hue 144°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine (#2B5D34), ΔE 0.020 away. White text reads best on it, at 7.64:1.
| Hue family | Greens |
| Lightness | dark (43%) |
| Chroma | moderately saturated (0.105) |
| Temperature | in between |
| Nearest name | Pine (#2B5D34) |
| Black text | 2.74:1 |
| White text | 7.64:1 |
Values
| HEX | #255F28 |
| RGB | rgb(37, 95, 40) |
| HSL | hsl(123, 44%, 26%) |
| OKLCH | oklch(43.3% 0.105 144.4) |
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 #255F28 | 7.64:1 | AAA | Lc -91.1 | Preferred for body text |
| Black text on #255F28 | 2.74:1 | Fails | Lc 17.7 | Dividers and decoration only |
| #255F28 text on white | 7.64:1 | AAA | Lc 86.3 | Fine for body text |
| #255F28 text on black | 2.74:1 | Fails | Lc -15.8 | Dividers and decoration only |
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 800.
-
Step 50
50
#F2F7F2
oklch(97.1% 0.008 145.5)
-
Step 100
100
#E3EDE3
oklch(93.6% 0.017 145.4)
-
Step 200
200
#CCDFCB
oklch(88.4% 0.034 143.9)
-
Step 300
300
#A9CCA8
oklch(81% 0.062 144.3)
-
Step 400
400
#7AB179
oklch(70.7% 0.099 144)
-
Step 500
500
#559D57
oklch(63.1% 0.125 144.5)
-
Step 600
600
#37873B
oklch(55.6% 0.136 144.3)
-
Step 700
700
#28722D
oklch(49% 0.127 144.4)
-
Step 800
800 (this color)
#255F28
oklch(43.3% 0.105 144.4)
-
Step 900
900
#224D24
oklch(37.8% 0.083 144.6)
-
Step 950
950
#152D16
oklch(27% 0.051 144.9)
#255F28 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) | #615723 | 0.079 |
| Deuteranopia (no green cones) | #59512C | 0.079 |
| Tritanopia (no blue cones) | #1B5C53 | 0.067 |
| Achromatopsia (no color) | #535353 | 0.106 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #255F28
#255F28
oklch(43.3% 0.105 144.4)
- #6C3A71
#6C3A71
oklch(43.3% 0.105 323.8)
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 #255F28, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pine #2B5D34 ΔE 0.020
- Spruce #0A5F38 ΔE 0.023
- Deep Green #02590F ΔE 0.038
- Navy Green #35530A ΔE 0.039
- Army Green #4B5D16 ΔE 0.042
- Dark Green #006400 ΔE 0.043
- Camouflage Green #4B6113 ΔE 0.044
- Forest #0B5509 ΔE 0.046
Use #255F28 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.