#258F27#258F27

#258F27 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.0% C 0.169 H 143.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#258F27
RGBrgb(37, 143, 39)
HSLhsl(121, 59%, 35%)
HSVhsv(121, 74%, 56%)
CMYKcmyk(74.1%, 0%, 72.7%, 43.9%)
CIE-LABlab(52.04, -49.99, 44.58)
CIE-LCHlch(52.04, 66.98, 138.28°)
OKLaboklab(57.01% -0.1356 0.1016)
OKLCHoklch(57.01% 0.169 143.2)
XYZxyz(10.9509, 20.1835, 5.2377)
Luminance0.2019 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#258F27 #8F258D
analogous
#588F25 #258F27 #258F5C
triadic
#258F27 #27258F #8F2725
tetradic
#258F27 #25588F #8F258D #8F5C25
square
#258F27 #25588F #8F258D #8F5C25
split-complementary
#258F27 #5C258F #8F2558
monochromatic
#0C2E0C #185E1A #258F27 #32C034 #5AD45C

Accessibility & contrast

On white

4.17
#258F27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#258F27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #258F27
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##258F27#FFFFFF#000000##000000
##258F271.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928116
Deuteranopia (green-blind)
#867931
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #258f27;
/* rgb */ color: rgb(37, 143, 39);
/* oklch */ color: oklch(57.0% 0.169 143.2);
Tailwind
colors: {
  custom: {
    50: '#71b168',
    500: '#258f27',
    950: '#000000',
  },
}
SCSS
$custom: #258f27;
$custom-light: #71b168;
$custom-dark: #000000;
JSON
{
  "hex": "#258f27",
  "rgb": {
    "r": 37,
    "g": 143,
    "b": 39
  },
  "hsl": {
    "h": 121.132,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57014,
    "c": 0.16944,
    "h": 143.2
  },
  "luminance": 0.20185
}

Semantic roles & 50–950 ramp

primary
#258F27
secondary
#B957B7
accent
#46DFE2
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #258F27

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

Preview Lab → · Contrast checker → · Palette generator →

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