#258C21#258C21

#258C21 is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.1% C 0.170 H 142.5°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#258C21
RGBrgb(37, 140, 33)
HSLhsl(118, 62%, 34%)
HSVhsv(118, 76%, 55%)
CMYKcmyk(73.6%, 0%, 76.4%, 45.1%)
CIE-LABlab(50.99, -49.48, 45.80)
CIE-LCHlch(50.99, 67.42, 137.21°)
OKLaboklab(56.12% -0.1345 0.1033)
OKLCHoklch(56.12% 0.17 142.5)
XYZxyz(10.4149, 19.2581, 4.6069)
Luminance0.1926 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#258C21 #88218C
analogous
#5B8C21 #258C21 #218C53
triadic
#258C21 #21258C #8C2125
tetradic
#258C21 #215B8C #88218C #8C5321
square
#258C21 #215B8C #88218C #8C5321
split-complementary
#258C21 #53218C #8C215B
monochromatic
#0B290A #185A15 #258C21 #32BE2D #56D651

Accessibility & contrast

On white

4.33
#258C21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#258C21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #258C21
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##258C21#FFFFFF#000000##000000
##258C211.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E0B
Deuteranopia (green-blind)
#84762D
Tritanopia (blue-blind)
#018877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #258c21;
/* rgb */ color: rgb(37, 140, 33);
/* oklch */ color: oklch(56.1% 0.170 142.5);
Tailwind
colors: {
  custom: {
    50: '#71af64',
    500: '#258c21',
    950: '#000000',
  },
}
SCSS
$custom: #258c21;
$custom-light: #71af64;
$custom-dark: #000000;
JSON
{
  "hex": "#258c21",
  "rgb": {
    "r": 37,
    "g": 140,
    "b": 33
  },
  "hsl": {
    "h": 117.757,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56124,
    "c": 0.16961,
    "h": 142.5
  },
  "luminance": 0.19259
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #258C21

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

Preview Lab → · Contrast checker → · Palette generator →

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