#258A2F#258A2F

#258A2F is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.7% C 0.158 H 144.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#258A2F
RGBrgb(37, 138, 47)
HSLhsl(126, 58%, 34%)
HSVhsv(126, 73%, 54%)
CMYKcmyk(73.2%, 0%, 65.9%, 45.9%)
CIE-LABlab(50.42, -47.43, 39.41)
CIE-LCHlch(50.42, 61.67, 140.27°)
OKLaboklab(55.69% -0.1283 0.0917)
OKLCHoklch(55.69% 0.158 144.5)
XYZxyz(10.3638, 18.7744, 5.7664)
Luminance0.1878 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#258A2F #8A2580
analogous
#4D8A25 #258A2F #258A62
triadic
#258A2F #2F258A #8A2F25
tetradic
#258A2F #254D8A #8A2580 #8A6225
square
#258A2F #254D8A #8A2580 #8A6225
split-complementary
#258A2F #62258A #8A254D
monochromatic
#0B290E #185A1F #258A2F #32BA3F #57D264

Accessibility & contrast

On white

4.42
#258A2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#258A2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #258A2F
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##258A2F#FFFFFF#000000##000000
##258A2F1.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D24
Deuteranopia (green-blind)
#817537
Tritanopia (blue-blind)
#008677
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #258a2f;
/* rgb */ color: rgb(37, 138, 47);
/* oklch */ color: oklch(55.7% 0.158 144.5);
Tailwind
colors: {
  custom: {
    50: '#70ad6c',
    500: '#258a2f',
    950: '#000000',
  },
}
SCSS
$custom: #258a2f;
$custom-light: #70ad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#258a2f",
  "rgb": {
    "r": 37,
    "g": 138,
    "b": 47
  },
  "hsl": {
    "h": 125.941,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.55691,
    "c": 0.15766,
    "h": 144.5
  },
  "luminance": 0.18776
}

Semantic roles & 50–950 ramp

primary
#258A2F
secondary
#B754AD
accent
#47D2E1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #258A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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