#258F40#258F40

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

Color values

HEX#258F40
RGBrgb(37, 143, 64)
HSLhsl(135, 59%, 35%)
HSVhsv(135, 74%, 56%)
CMYKcmyk(74.1%, 0%, 55.2%, 43.9%)
CIE-LABlab(52.29, -47.00, 33.35)
CIE-LCHlch(52.29, 57.63, 144.64°)
OKLaboklab(57.3% -0.1265 0.08)
OKLCHoklch(57.3% 0.15 147.7)
XYZxyz(11.5100, 20.4071, 8.1819)
Luminance0.2041 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#258F40 #8F2574
analogous
#3F8F25 #258F40 #258F75
triadic
#258F40 #40258F #8F4025
tetradic
#258F40 #253F8F #8F2574 #8F7525
square
#258F40 #253F8F #8F2574 #8F7525
split-complementary
#258F40 #75258F #8F253F
monochromatic
#0C2E14 #185E2A #258F40 #32C056 #5AD479

Accessibility & contrast

On white

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

On black

5.08
#258F40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #258F40
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##258F40#FFFFFF#000000##000000
##258F401.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#918239
Deuteranopia (green-blind)
#847946
Tritanopia (blue-blind)
#008C7D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #258f40;
/* rgb */ color: rgb(37, 143, 64);
/* oklch */ color: oklch(57.3% 0.150 147.7);
Tailwind
colors: {
  custom: {
    50: '#70b177',
    500: '#258f40',
    950: '#000000',
  },
}
SCSS
$custom: #258f40;
$custom-light: #70b177;
$custom-dark: #000000;
JSON
{
  "hex": "#258f40",
  "rgb": {
    "r": 37,
    "g": 143,
    "b": 64
  },
  "hsl": {
    "h": 135.283,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57302,
    "c": 0.14969,
    "h": 147.7
  },
  "luminance": 0.20408
}

Semantic roles & 50–950 ramp

primary
#258F40
secondary
#B957A0
accent
#46BAE2
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #258F40

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

Preview Lab → · Contrast checker → · Palette generator →

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