#258B1F#258B1F

#258B1F is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.8% C 0.170 H 142.3°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#258B1F
RGBrgb(37, 139, 31)
HSLhsl(117, 64%, 33%)
HSVhsv(117, 78%, 55%)
CMYKcmyk(73.4%, 0%, 77.7%, 45.5%)
CIE-LABlab(50.64, -49.29, 46.18)
CIE-LCHlch(50.64, 67.54, 136.87°)
OKLaboklab(55.83% -0.1341 0.1038)
OKLCHoklch(55.83% 0.17 142.3)
XYZxyz(10.2423, 18.9563, 4.4152)
Luminance0.1896 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#258B1F #851F8B
analogous
#5B8B1F #258B1F #1F8B4F
triadic
#258B1F #1F258B #8B1F25
tetradic
#258B1F #1F5B8B #851F8B #8B4F1F
square
#258B1F #1F5B8B #851F8B #8B4F1F
split-complementary
#258B1F #4F1F8B #8B1F5B
monochromatic
#0A2709 #185914 #258B1F #32BD2A #55D74D

Accessibility & contrast

On white

4.38
#258B1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#258B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #258B1F
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##258B1F#FFFFFF#000000##000000
##258B1F1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D06
Deuteranopia (green-blind)
#83752B
Tritanopia (blue-blind)
#038776
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #258b1f;
/* rgb */ color: rgb(37, 139, 31);
/* oklch */ color: oklch(55.8% 0.170 142.3);
Tailwind
colors: {
  custom: {
    50: '#71ae63',
    500: '#258b1f',
    950: '#000000',
  },
}
SCSS
$custom: #258b1f;
$custom-light: #71ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#258b1f",
  "rgb": {
    "r": 37,
    "g": 139,
    "b": 31
  },
  "hsl": {
    "h": 116.667,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55828,
    "c": 0.1696,
    "h": 142.3
  },
  "luminance": 0.18957
}

Semantic roles & 50–950 ramp

primary
#258B1F
secondary
#B44CBA
accent
#41E7DD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #258B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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