#258D22#258D22

#258D22 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.4% C 0.170 H 142.6°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#258D22
RGBrgb(37, 141, 34)
HSLhsl(118, 61%, 34%)
HSVhsv(118, 76%, 55%)
CMYKcmyk(73.8%, 0%, 75.9%, 44.7%)
CIE-LABlab(51.33, -49.74, 45.78)
CIE-LCHlch(51.33, 67.60, 137.37°)
OKLaboklab(56.41% -0.1352 0.1034)
OKLCHoklch(56.41% 0.17 142.6)
XYZxyz(10.5759, 19.5574, 4.7306)
Luminance0.1956 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#258D22 #8A228D
analogous
#5B8D22 #258D22 #228D55
triadic
#258D22 #22258D #8D2225
tetradic
#258D22 #225B8D #8A228D #8D5522
square
#258D22 #225B8D #8A228D #8D5522
split-complementary
#258D22 #55228D #8D225B
monochromatic
#0B2A0A #185C16 #258D22 #32BE2E #57D654

Accessibility & contrast

On white

4.28
#258D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#258D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #258D22
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##258D22#FFFFFF#000000##000000
##258D221.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0D
Deuteranopia (green-blind)
#84772D
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #258d22;
/* rgb */ color: rgb(37, 141, 34);
/* oklch */ color: oklch(56.4% 0.170 142.6);
Tailwind
colors: {
  custom: {
    50: '#71af65',
    500: '#258d22',
    950: '#000000',
  },
}
SCSS
$custom: #258d22;
$custom-light: #71af65;
$custom-dark: #000000;
JSON
{
  "hex": "#258d22",
  "rgb": {
    "r": 37,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 118.318,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56413,
    "c": 0.17019,
    "h": 142.6
  },
  "luminance": 0.19559
}

Semantic roles & 50–950 ramp

primary
#258D22
secondary
#B751B9
accent
#44E4E0
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #258D22

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

Preview Lab → · Contrast checker → · Palette generator →

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