#258F28#258F28

#258F28 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.0% C 0.169 H 143.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#258F28
RGBrgb(37, 143, 40)
HSLhsl(122, 59%, 35%)
HSVhsv(122, 74%, 56%)
CMYKcmyk(74.1%, 0%, 72%, 43.9%)
CIE-LABlab(52.05, -49.90, 44.19)
CIE-LCHlch(52.05, 66.65, 138.48°)
OKLaboklab(57.02% -0.1353 0.1009)
OKLCHoklch(57.02% 0.169 143.3)
XYZxyz(10.9677, 20.1902, 5.3262)
Luminance0.2019 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#258F28 #8F258C
analogous
#578F25 #258F28 #258F5D
triadic
#258F28 #28258F #8F2825
tetradic
#258F28 #25578F #8F258C #8F5D25
square
#258F28 #25578F #8F258C #8F5D25
split-complementary
#258F28 #5D258F #8F2557
monochromatic
#0C2E0D #185E1A #258F28 #32C036 #5AD45E

Accessibility & contrast

On white

4.17
#258F28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#258F28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #258F28
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##258F28#FFFFFF#000000##000000
##258F281.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928118
Deuteranopia (green-blind)
#867932
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #258f28;
/* rgb */ color: rgb(37, 143, 40);
/* oklch */ color: oklch(57.0% 0.169 143.3);
Tailwind
colors: {
  custom: {
    50: '#71b168',
    500: '#258f28',
    950: '#000000',
  },
}
SCSS
$custom: #258f28;
$custom-light: #71b168;
$custom-dark: #000000;
JSON
{
  "hex": "#258f28",
  "rgb": {
    "r": 37,
    "g": 143,
    "b": 40
  },
  "hsl": {
    "h": 121.698,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57023,
    "c": 0.16878,
    "h": 143.3
  },
  "luminance": 0.20191
}

Semantic roles & 50–950 ramp

primary
#258F28
secondary
#B957B6
accent
#46DEE2
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #258F28

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#258F28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva