#258E1F#258E1F

#258E1F is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.7% C 0.173 H 142.3°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#258E1F
RGBrgb(37, 142, 31)
HSLhsl(117, 64%, 34%)
HSVhsv(117, 78%, 56%)
CMYKcmyk(73.9%, 0%, 78.2%, 44.3%)
CIE-LABlab(51.65, -50.31, 47.18)
CIE-LCHlch(51.65, 68.97, 136.84°)
OKLaboklab(56.67% -0.1369 0.1059)
OKLCHoklch(56.67% 0.173 142.3)
XYZxyz(10.6826, 19.8371, 4.5620)
Luminance0.1984 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#258E1F #881F8E
analogous
#5D8E1F #258E1F #1F8E51
triadic
#258E1F #1F258E #8E1F25
tetradic
#258E1F #1F5D8E #881F8E #8E511F
square
#258E1F #1F5D8E #881F8E #8E511F
split-complementary
#258E1F #511F8E #8E1F5D
monochromatic
#0B2A09 #185C14 #258E1F #32C02A #56D94F

Accessibility & contrast

On white

4.23
#258E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#258E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #258E1F
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##258E1F#FFFFFF#000000##000000
##258E1F1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#918004
Deuteranopia (green-blind)
#86782C
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #258e1f;
/* rgb */ color: rgb(37, 142, 31);
/* oklch */ color: oklch(56.7% 0.173 142.3);
Tailwind
colors: {
  custom: {
    50: '#71b063',
    500: '#258e1f',
    950: '#000000',
  },
}
SCSS
$custom: #258e1f;
$custom-light: #71b063;
$custom-dark: #000000;
JSON
{
  "hex": "#258e1f",
  "rgb": {
    "r": 37,
    "g": 142,
    "b": 31
  },
  "hsl": {
    "h": 116.757,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56672,
    "c": 0.17306,
    "h": 142.3
  },
  "luminance": 0.19838
}

Semantic roles & 50–950 ramp

primary
#258E1F
secondary
#B64DBB
accent
#41E7DE
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #258E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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