#258F22#258F22

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

Color values

HEX#258F22
RGBrgb(37, 143, 34)
HSLhsl(118, 62%, 35%)
HSVhsv(118, 76%, 56%)
CMYKcmyk(74.1%, 0%, 76.2%, 43.9%)
CIE-LABlab(52.01, -50.42, 46.46)
CIE-LCHlch(52.01, 68.56, 137.34°)
OKLaboklab(56.97% -0.137 0.1048)
OKLCHoklch(56.97% 0.173 142.6)
XYZxyz(10.8735, 20.1525, 4.8298)
Luminance0.2015 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#258F22 #8C228F
analogous
#5B8F22 #258F22 #228F56
triadic
#258F22 #22258F #8F2225
tetradic
#258F22 #225B8F #8C228F #8F5622
square
#258F22 #225B8F #8C228F #8F5622
split-complementary
#258F22 #56228F #8F225B
monochromatic
#0B2C0A #185E16 #258F22 #32C02E #58D755

Accessibility & contrast

On white

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

On black

5.03
#258F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #258F22
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##258F22#FFFFFF#000000##000000
##258F221.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810C
Deuteranopia (green-blind)
#86792E
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #258f22;
/* rgb */ color: rgb(37, 143, 34);
/* oklch */ color: oklch(57.0% 0.173 142.6);
Tailwind
colors: {
  custom: {
    50: '#71b165',
    500: '#258f22',
    950: '#000000',
  },
}
SCSS
$custom: #258f22;
$custom-light: #71b165;
$custom-dark: #000000;
JSON
{
  "hex": "#258f22",
  "rgb": {
    "r": 37,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 118.349,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56974,
    "c": 0.17252,
    "h": 142.6
  },
  "luminance": 0.20154
}

Semantic roles & 50–950 ramp

primary
#258F22
secondary
#B852BA
accent
#43E5E0
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #258F22

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

Preview Lab → · Contrast checker → · Palette generator →

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