#258A42#258A42

#258A42 is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.9% C 0.141 H 148.7°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#258A42
RGBrgb(37, 138, 66)
HSLhsl(137, 58%, 34%)
HSVhsv(137, 73%, 54%)
CMYKcmyk(73.2%, 0%, 52.2%, 45.9%)
CIE-LABlab(50.64, -44.82, 30.30)
CIE-LCHlch(50.64, 54.10, 145.94°)
OKLaboklab(55.95% -0.1207 0.0733)
OKLCHoklch(55.95% 0.141 148.7)
XYZxyz(10.8340, 18.9624, 8.2423)
Luminance0.1896 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#258A42 #8A256D
analogous
#3B8A25 #258A42 #258A75
triadic
#258A42 #42258A #8A4225
tetradic
#258A42 #253B8A #8A256D #8A7525
square
#258A42 #253B8A #8A256D #8A7525
split-complementary
#258A42 #75258A #8A253B
monochromatic
#0B2914 #185A2B #258A42 #32BA59 #57D27B

Accessibility & contrast

On white

4.38
#258A42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#258A42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #258A42
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##258A42#FFFFFF#000000##000000
##258A421.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7E3C
Deuteranopia (green-blind)
#7F7547
Tritanopia (blue-blind)
#008779
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #258a42;
/* rgb */ color: rgb(37, 138, 66);
/* oklch */ color: oklch(55.9% 0.141 148.7);
Tailwind
colors: {
  custom: {
    50: '#6fad78',
    500: '#258a42',
    950: '#000000',
  },
}
SCSS
$custom: #258a42;
$custom-light: #6fad78;
$custom-dark: #000000;
JSON
{
  "hex": "#258a42",
  "rgb": {
    "r": 37,
    "g": 138,
    "b": 66
  },
  "hsl": {
    "h": 137.228,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.55945,
    "c": 0.14118,
    "h": 148.7
  },
  "luminance": 0.18964
}

Semantic roles & 50–950 ramp

primary
#258A42
secondary
#B7549A
accent
#47B5E1
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #258A42

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

Preview Lab → · Contrast checker → · Palette generator →

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