#258D21#258D21

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

Color values

HEX#258D21
RGBrgb(37, 141, 33)
HSLhsl(118, 62%, 34%)
HSVhsv(118, 77%, 55%)
CMYKcmyk(73.8%, 0%, 76.6%, 44.7%)
CIE-LABlab(51.33, -49.82, 46.14)
CIE-LCHlch(51.33, 67.90, 137.19°)
OKLaboklab(56.41% -0.1354 0.104)
OKLCHoklch(56.41% 0.171 142.5)
XYZxyz(10.5617, 19.5517, 4.6558)
Luminance0.1955 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#258D21 #89218D
analogous
#5B8D21 #258D21 #218D53
triadic
#258D21 #21258D #8D2125
tetradic
#258D21 #215B8D #89218D #8D5321
square
#258D21 #215B8D #89218D #8D5321
split-complementary
#258D21 #53218D #8D215B
monochromatic
#0B2A0A #185B15 #258D21 #32BF2D #57D652

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##258D21#FFFFFF#000000##000000
##258D211.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)
#907F0A
Deuteranopia (green-blind)
#84772D
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #258d21;
/* rgb */ color: rgb(37, 141, 33);
/* oklch */ color: oklch(56.4% 0.171 142.5);
Tailwind
colors: {
  custom: {
    50: '#71af64',
    500: '#258d21',
    950: '#000000',
  },
}
SCSS
$custom: #258d21;
$custom-light: #71af64;
$custom-dark: #000000;
JSON
{
  "hex": "#258d21",
  "rgb": {
    "r": 37,
    "g": 141,
    "b": 33
  },
  "hsl": {
    "h": 117.778,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56405,
    "c": 0.17078,
    "h": 142.5
  },
  "luminance": 0.19553
}

Semantic roles & 50–950 ramp

primary
#258D21
secondary
#B650BA
accent
#43E5DF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #258D21

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

Preview Lab → · Contrast checker → · Palette generator →

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