#258D28#258D28

#258D28 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.5% C 0.166 H 143.3°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#258D28
RGBrgb(37, 141, 40)
HSLhsl(122, 58%, 35%)
HSVhsv(122, 74%, 55%)
CMYKcmyk(73.8%, 0%, 71.6%, 44.7%)
CIE-LABlab(51.38, -49.21, 43.48)
CIE-LCHlch(51.38, 65.67, 138.54°)
OKLaboklab(56.46% -0.1335 0.0994)
OKLCHoklch(56.46% 0.166 143.3)
XYZxyz(10.6702, 19.5951, 5.2270)
Luminance0.1960 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#258D28 #8D258A
analogous
#568D25 #258D28 #258D5C
triadic
#258D28 #28258D #8D2825
tetradic
#258D28 #25568D #8D258A #8D5C25
square
#258D28 #25568D #8D258A #8D5C25
split-complementary
#258D28 #5C258D #8D2556
monochromatic
#0C2C0C #185D1A #258D28 #32BD36 #59D35D

Accessibility & contrast

On white

4.27
#258D28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#258D28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #258D28
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##258D28#FFFFFF#000000##000000
##258D281.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F19
Deuteranopia (green-blind)
#847732
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #258d28;
/* rgb */ color: rgb(37, 141, 40);
/* oklch */ color: oklch(56.5% 0.166 143.3);
Tailwind
colors: {
  custom: {
    50: '#71af68',
    500: '#258d28',
    950: '#000000',
  },
}
SCSS
$custom: #258d28;
$custom-light: #71af68;
$custom-dark: #000000;
JSON
{
  "hex": "#258d28",
  "rgb": {
    "r": 37,
    "g": 141,
    "b": 40
  },
  "hsl": {
    "h": 121.731,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56462,
    "c": 0.16639,
    "h": 143.3
  },
  "luminance": 0.19596
}

Semantic roles & 50–950 ramp

primary
#258D28
secondary
#B856B5
accent
#46DDE2
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #258D28

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

Preview Lab → · Contrast checker → · Palette generator →

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