#258C1F#258C1F

#258C1F is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.1% C 0.171 H 142.3°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#258C1F
RGBrgb(37, 140, 31)
HSLhsl(117, 64%, 34%)
HSVhsv(117, 78%, 55%)
CMYKcmyk(73.6%, 0%, 77.9%, 45.1%)
CIE-LABlab(50.98, -49.63, 46.51)
CIE-LCHlch(50.98, 68.02, 136.86°)
OKLaboklab(56.11% -0.135 0.1045)
OKLCHoklch(56.11% 0.171 142.3)
XYZxyz(10.3877, 19.2473, 4.4637)
Luminance0.1925 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#258C1F #861F8C
analogous
#5B8C1F #258C1F #1F8C4F
triadic
#258C1F #1F258C #8C1F25
tetradic
#258C1F #1F5B8C #861F8C #8C4F1F
square
#258C1F #1F5B8C #861F8C #8C4F1F
split-complementary
#258C1F #4F1F8C #8C1F5B
monochromatic
#0B2809 #185A14 #258C1F #32BE2A #55D84E

Accessibility & contrast

On white

4.33
#258C1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#258C1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #258C1F
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##258C1F#FFFFFF#000000##000000
##258C1F1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E06
Deuteranopia (green-blind)
#84762B
Tritanopia (blue-blind)
#028877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #258c1f;
/* rgb */ color: rgb(37, 140, 31);
/* oklch */ color: oklch(56.1% 0.171 142.3);
Tailwind
colors: {
  custom: {
    50: '#71af63',
    500: '#258c1f',
    950: '#000000',
  },
}
SCSS
$custom: #258c1f;
$custom-light: #71af63;
$custom-dark: #000000;
JSON
{
  "hex": "#258c1f",
  "rgb": {
    "r": 37,
    "g": 140,
    "b": 31
  },
  "hsl": {
    "h": 116.697,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56109,
    "c": 0.17076,
    "h": 142.3
  },
  "luminance": 0.19248
}

Semantic roles & 50–950 ramp

primary
#258C1F
secondary
#B44CBB
accent
#41E7DE
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #258C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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