#258F21#258F21

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

Color values

HEX#258F21
RGBrgb(37, 143, 33)
HSLhsl(118, 63%, 35%)
HSVhsv(118, 77%, 56%)
CMYKcmyk(74.1%, 0%, 76.9%, 43.9%)
CIE-LABlab(52.00, -50.50, 46.82)
CIE-LCHlch(52.00, 68.86, 137.17°)
OKLaboklab(56.97% -0.1373 0.1054)
OKLCHoklch(56.97% 0.173 142.5)
XYZxyz(10.8593, 20.1468, 4.7550)
Luminance0.2015 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#258F21 #8B218F
analogous
#5C8F21 #258F21 #218F54
triadic
#258F21 #21258F #8F2125
tetradic
#258F21 #215C8F #8B218F #8F5421
square
#258F21 #215C8F #8B218F #8F5421
split-complementary
#258F21 #54218F #8F215C
monochromatic
#0B2C0A #185D16 #258F21 #32C12C #58D753

Accessibility & contrast

On white

4.18
#258F21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##258F21#FFFFFF#000000##000000
##258F211.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#928109
Deuteranopia (green-blind)
#86792D
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #258f21;
/* rgb */ color: rgb(37, 143, 33);
/* oklch */ color: oklch(57.0% 0.173 142.5);
Tailwind
colors: {
  custom: {
    50: '#71b164',
    500: '#258f21',
    950: '#000000',
  },
}
SCSS
$custom: #258f21;
$custom-light: #71b164;
$custom-dark: #000000;
JSON
{
  "hex": "#258f21",
  "rgb": {
    "r": 37,
    "g": 143,
    "b": 33
  },
  "hsl": {
    "h": 117.818,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56967,
    "c": 0.17309,
    "h": 142.5
  },
  "luminance": 0.20148
}

Semantic roles & 50–950 ramp

primary
#258F21
secondary
#B751BB
accent
#42E6E0
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #258F21

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

Preview Lab → · Contrast checker → · Palette generator →

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