#258F2F#258F2F

#258F2F is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.1% C 0.164 H 144.3°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#258F2F
RGBrgb(37, 143, 47)
HSLhsl(126, 59%, 35%)
HSVhsv(126, 74%, 56%)
CMYKcmyk(74.1%, 0%, 67.1%, 43.9%)
CIE-LABlab(52.11, -49.20, 41.28)
CIE-LCHlch(52.11, 64.22, 140.00°)
OKLaboklab(57.09% -0.1331 0.0956)
OKLCHoklch(57.09% 0.164 144.3)
XYZxyz(11.0978, 20.2422, 6.0110)
Luminance0.2024 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#258F2F #8F2585
analogous
#508F25 #258F2F #258F64
triadic
#258F2F #2F258F #8F2F25
tetradic
#258F2F #25508F #8F2585 #8F6425
square
#258F2F #25508F #8F2585 #8F6425
split-complementary
#258F2F #64258F #8F2550
monochromatic
#0C2E0F #185E1F #258F2F #32C03F #5AD466

Accessibility & contrast

On white

4.16
#258F2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#258F2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #258F2F
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##258F2F#FFFFFF#000000##000000
##258F2F1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928123
Deuteranopia (green-blind)
#867938
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #258f2f;
/* rgb */ color: rgb(37, 143, 47);
/* oklch */ color: oklch(57.1% 0.164 144.3);
Tailwind
colors: {
  custom: {
    50: '#71b16c',
    500: '#258f2f',
    950: '#000000',
  },
}
SCSS
$custom: #258f2f;
$custom-light: #71b16c;
$custom-dark: #000000;
JSON
{
  "hex": "#258f2f",
  "rgb": {
    "r": 37,
    "g": 143,
    "b": 47
  },
  "hsl": {
    "h": 125.66,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.5709,
    "c": 0.16384,
    "h": 144.3
  },
  "luminance": 0.20243
}

Semantic roles & 50–950 ramp

primary
#258F2F
secondary
#B957B0
accent
#46D3E2
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #258F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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