#258F42#258F42

#258F42 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.148 H 148.2°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#258F42
RGBrgb(37, 143, 66)
HSLhsl(136, 59%, 35%)
HSVhsv(136, 74%, 56%)
CMYKcmyk(74.1%, 0%, 53.8%, 43.9%)
CIE-LABlab(52.32, -46.70, 32.36)
CIE-LCHlch(52.32, 56.81, 145.28°)
OKLaboklab(57.33% -0.1257 0.0779)
OKLCHoklch(57.33% 0.148 148.2)
XYZxyz(11.5679, 20.4303, 8.4870)
Luminance0.2043 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#258F42 #8F2572
analogous
#3D8F25 #258F42 #258F77
triadic
#258F42 #42258F #8F4225
tetradic
#258F42 #253D8F #8F2572 #8F7725
square
#258F42 #253D8F #8F2572 #8F7725
split-complementary
#258F42 #77258F #8F253D
monochromatic
#0C2E15 #185E2C #258F42 #32C058 #5AD47C

Accessibility & contrast

On white

4.13
#258F42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#258F42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #258F42
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##258F42#FFFFFF#000000##000000
##258F421.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#90823B
Deuteranopia (green-blind)
#847948
Tritanopia (blue-blind)
#008C7D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #258f42;
/* rgb */ color: rgb(37, 143, 66);
/* oklch */ color: oklch(57.3% 0.148 148.2);
Tailwind
colors: {
  custom: {
    50: '#70b178',
    500: '#258f42',
    950: '#000000',
  },
}
SCSS
$custom: #258f42;
$custom-light: #70b178;
$custom-dark: #000000;
JSON
{
  "hex": "#258f42",
  "rgb": {
    "r": 37,
    "g": 143,
    "b": 66
  },
  "hsl": {
    "h": 136.415,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57332,
    "c": 0.14787,
    "h": 148.2
  },
  "luminance": 0.20432
}

Semantic roles & 50–950 ramp

primary
#258F42
secondary
#B9579E
accent
#46B7E2
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081109
muted
#7B807B

Preview Lab

Preview with #258F42

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

Preview Lab → · Contrast checker → · Palette generator →

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