#258B21#258B21

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

Color values

HEX#258B21
RGBrgb(37, 139, 33)
HSLhsl(118, 62%, 34%)
HSVhsv(118, 76%, 55%)
CMYKcmyk(73.4%, 0%, 76.3%, 45.5%)
CIE-LABlab(50.65, -49.13, 45.47)
CIE-LCHlch(50.65, 66.94, 137.22°)
OKLaboklab(55.84% -0.1336 0.1026)
OKLCHoklch(55.84% 0.168 142.5)
XYZxyz(10.2695, 18.9672, 4.5584)
Luminance0.1897 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#258B21 #87218B
analogous
#5A8B21 #258B21 #218B52
triadic
#258B21 #21258B #8B2125
tetradic
#258B21 #215A8B #87218B #8B5221
square
#258B21 #215A8B #87218B #8B5221
split-complementary
#258B21 #52218B #8B215A
monochromatic
#0B280A #185A15 #258B21 #32BC2D #56D651

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##258B21#FFFFFF#000000##000000
##258B211.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)
#8E7D0B
Deuteranopia (green-blind)
#83762C
Tritanopia (blue-blind)
#028777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #258b21;
/* rgb */ color: rgb(37, 139, 33);
/* oklch */ color: oklch(55.8% 0.168 142.5);
Tailwind
colors: {
  custom: {
    50: '#70ae64',
    500: '#258b21',
    950: '#000000',
  },
}
SCSS
$custom: #258b21;
$custom-light: #70ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#258b21",
  "rgb": {
    "r": 37,
    "g": 139,
    "b": 33
  },
  "hsl": {
    "h": 117.736,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55843,
    "c": 0.16845,
    "h": 142.5
  },
  "luminance": 0.18968
}

Semantic roles & 50–950 ramp

primary
#258B21
secondary
#B54FB9
accent
#43E5DF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #258B21

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

Preview Lab → · Contrast checker → · Palette generator →

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