#258F31#258F31

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

Color values

HEX#258F31
RGBrgb(37, 143, 49)
HSLhsl(127, 59%, 35%)
HSVhsv(127, 74%, 56%)
CMYKcmyk(74.1%, 0%, 65.7%, 43.9%)
CIE-LABlab(52.13, -48.97, 40.40)
CIE-LCHlch(52.13, 63.49, 140.48°)
OKLaboklab(57.11% -0.1324 0.094)
OKLCHoklch(57.11% 0.162 144.6)
XYZxyz(11.1390, 20.2587, 6.2284)
Luminance0.2026 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#258F31 #8F2583
analogous
#4E8F25 #258F31 #258F66
triadic
#258F31 #31258F #8F3125
tetradic
#258F31 #254E8F #8F2583 #8F6625
square
#258F31 #254E8F #8F2583 #8F6625
split-complementary
#258F31 #66258F #8F254E
monochromatic
#0C2E10 #185E20 #258F31 #32C042 #5AD468

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##258F31#FFFFFF#000000##000000
##258F311.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)
#928126
Deuteranopia (green-blind)
#857939
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #258f31;
/* rgb */ color: rgb(37, 143, 49);
/* oklch */ color: oklch(57.1% 0.162 144.6);
Tailwind
colors: {
  custom: {
    50: '#71b16d',
    500: '#258f31',
    950: '#000000',
  },
}
SCSS
$custom: #258f31;
$custom-light: #71b16d;
$custom-dark: #000000;
JSON
{
  "hex": "#258f31",
  "rgb": {
    "r": 37,
    "g": 143,
    "b": 49
  },
  "hsl": {
    "h": 126.792,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57111,
    "c": 0.16233,
    "h": 144.6
  },
  "luminance": 0.2026
}

Semantic roles & 50–950 ramp

primary
#258F31
secondary
#B957AE
accent
#46D0E2
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #258F31

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

Preview Lab → · Contrast checker → · Palette generator →

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