#258C42#258C42

#258C42 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.5% C 0.144 H 148.5°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#258C42
RGBrgb(37, 140, 66)
HSLhsl(137, 58%, 35%)
HSVhsv(137, 74%, 55%)
CMYKcmyk(73.6%, 0%, 52.9%, 45.1%)
CIE-LABlab(51.31, -45.58, 31.13)
CIE-LCHlch(51.31, 55.19, 145.67°)
OKLaboklab(56.5% -0.1227 0.0752)
OKLCHoklch(56.5% 0.144 148.5)
XYZxyz(11.1235, 19.5416, 8.3389)
Luminance0.1954 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#258C42 #8C256F
analogous
#3C8C25 #258C42 #258C76
triadic
#258C42 #42258C #8C4225
tetradic
#258C42 #253C8C #8C256F #8C7625
square
#258C42 #253C8C #8C256F #8C7625
split-complementary
#258C42 #76258C #8C253C
monochromatic
#0B2B14 #185C2B #258C42 #32BC59 #58D37B

Accessibility & contrast

On white

4.28
#258C42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#258C42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #258C42
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##258C42#FFFFFF#000000##000000
##258C421.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7F3C
Deuteranopia (green-blind)
#817747
Tritanopia (blue-blind)
#00897B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #258c42;
/* rgb */ color: rgb(37, 140, 66);
/* oklch */ color: oklch(56.5% 0.144 148.5);
Tailwind
colors: {
  custom: {
    50: '#6faf78',
    500: '#258c42',
    950: '#000000',
  },
}
SCSS
$custom: #258c42;
$custom-light: #6faf78;
$custom-dark: #000000;
JSON
{
  "hex": "#258c42",
  "rgb": {
    "r": 37,
    "g": 140,
    "b": 66
  },
  "hsl": {
    "h": 136.893,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.565,
    "c": 0.14388,
    "h": 148.5
  },
  "luminance": 0.19543
}

Semantic roles & 50–950 ramp

primary
#258C42
secondary
#B8559C
accent
#46B6E1
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #258C42

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

Preview Lab → · Contrast checker → · Palette generator →

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