#258F1F#258F1F

#258F1F is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.0% C 0.174 H 142.3°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#258F1F
RGBrgb(37, 143, 31)
HSLhsl(117, 64%, 34%)
HSVhsv(117, 78%, 56%)
CMYKcmyk(74.1%, 0%, 78.3%, 43.9%)
CIE-LABlab(51.99, -50.65, 47.51)
CIE-LCHlch(51.99, 69.44, 136.83°)
OKLaboklab(56.95% -0.1378 0.1066)
OKLCHoklch(56.95% 0.174 142.3)
XYZxyz(10.8321, 20.1360, 4.6118)
Luminance0.2014 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#258F1F #891F8F
analogous
#5D8F1F #258F1F #1F8F51
triadic
#258F1F #1F258F #8F1F25
tetradic
#258F1F #1F5D8F #891F8F #8F511F
square
#258F1F #1F5D8F #891F8F #8F511F
split-complementary
#258F1F #511F8F #8F1F5D
monochromatic
#0B2A09 #185D14 #258F1F #32C12A #57D94F

Accessibility & contrast

On white

4.18
#258F1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#258F1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #258F1F
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##258F1F#FFFFFF#000000##000000
##258F1F1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#928104
Deuteranopia (green-blind)
#86792C
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #258f1f;
/* rgb */ color: rgb(37, 143, 31);
/* oklch */ color: oklch(57.0% 0.174 142.3);
Tailwind
colors: {
  custom: {
    50: '#72b163',
    500: '#258f1f',
    950: '#000000',
  },
}
SCSS
$custom: #258f1f;
$custom-light: #72b163;
$custom-dark: #000000;
JSON
{
  "hex": "#258f1f",
  "rgb": {
    "r": 37,
    "g": 143,
    "b": 31
  },
  "hsl": {
    "h": 116.786,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56953,
    "c": 0.17421,
    "h": 142.3
  },
  "luminance": 0.20137
}

Semantic roles & 50–950 ramp

primary
#258F1F
secondary
#B64EBC
accent
#40E7DE
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #258F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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