#258242#258242

#258242 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.7% C 0.130 H 149.7°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#258242
RGBrgb(37, 130, 66)
HSLhsl(139, 56%, 33%)
HSVhsv(139, 72%, 51%)
CMYKcmyk(71.5%, 0%, 49.2%, 49%)
CIE-LABlab(47.94, -41.74, 26.93)
CIE-LCHlch(47.94, 49.67, 147.17°)
OKLaboklab(53.72% -0.1124 0.0657)
OKLCHoklch(53.72% 0.13 149.7)
XYZxyz(9.7282, 16.7509, 7.8737)
Luminance0.1675 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#258242 #822565
analogous
#368225 #258242 #258271
triadic
#258242 #422582 #824225
tetradic
#258242 #253682 #822565 #827125
square
#258242 #253682 #822565 #827125
split-complementary
#258242 #712582 #822536
monochromatic
#0A2312 #17522A #258242 #33B25A #53CE7A

Accessibility & contrast

On white

4.83
#258242 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#258242 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #258242
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##258242#FFFFFF#000000##FFFFFF
##2582421.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83773D
Deuteranopia (green-blind)
#786F47
Tritanopia (blue-blind)
#008073
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #258242;
/* rgb */ color: rgb(37, 130, 66);
/* oklch */ color: oklch(53.7% 0.130 149.7);
Tailwind
colors: {
  custom: {
    50: '#6da777',
    500: '#258242',
    950: '#000000',
  },
}
SCSS
$custom: #258242;
$custom-light: #6da777;
$custom-dark: #000000;
JSON
{
  "hex": "#258242",
  "rgb": {
    "r": 37,
    "g": 130,
    "b": 66
  },
  "hsl": {
    "h": 138.71,
    "s": 55.689,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53715,
    "c": 0.1302,
    "h": 149.7
  },
  "luminance": 0.16752
}

Semantic roles & 50–950 ramp

primary
#258242
secondary
#B25094
accent
#49B0DF
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #258242

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

Preview Lab → · Contrast checker → · Palette generator →

#258242 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva