#258A1F#258A1F

#258A1F is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.5% C 0.168 H 142.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#258A1F
RGBrgb(37, 138, 31)
HSLhsl(117, 63%, 33%)
HSVhsv(117, 78%, 54%)
CMYKcmyk(73.2%, 0%, 77.5%, 45.9%)
CIE-LABlab(50.30, -48.95, 45.84)
CIE-LCHlch(50.30, 67.06, 136.88°)
OKLaboklab(55.55% -0.1332 0.1031)
OKLCHoklch(55.55% 0.168 142.3)
XYZxyz(10.0982, 18.6681, 4.3672)
Luminance0.1867 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#258A1F #841F8A
analogous
#5A8A1F #258A1F #1F8A4F
triadic
#258A1F #1F258A #8A1F25
tetradic
#258A1F #1F5A8A #841F8A #8A4F1F
square
#258A1F #1F5A8A #841F8A #8A4F1F
split-complementary
#258A1F #4F1F8A #8A1F5A
monochromatic
#0A2609 #185814 #258A1F #32BC2A #54D74C

Accessibility & contrast

On white

4.44
#258A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#258A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #258A1F
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##258A1F#FFFFFF#000000##000000
##258A1F1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C07
Deuteranopia (green-blind)
#82752B
Tritanopia (blue-blind)
#048676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #258a1f;
/* rgb */ color: rgb(37, 138, 31);
/* oklch */ color: oklch(55.5% 0.168 142.3);
Tailwind
colors: {
  custom: {
    50: '#70ad63',
    500: '#258a1f',
    950: '#000000',
  },
}
SCSS
$custom: #258a1f;
$custom-light: #70ad63;
$custom-dark: #000000;
JSON
{
  "hex": "#258a1f",
  "rgb": {
    "r": 37,
    "g": 138,
    "b": 31
  },
  "hsl": {
    "h": 116.636,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55546,
    "c": 0.16844,
    "h": 142.3
  },
  "luminance": 0.18669
}

Semantic roles & 50–950 ramp

primary
#258A1F
secondary
#B34BBA
accent
#41E6DD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #258A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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