#258128#258128

#258128 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.1% C 0.152 H 143.5°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#258128
RGBrgb(37, 129, 40)
HSLhsl(122, 55%, 33%)
HSVhsv(122, 71%, 51%)
CMYKcmyk(71.3%, 0%, 69%, 49.4%)
CIE-LABlab(47.30, -44.97, 39.13)
CIE-LCHlch(47.30, 59.61, 138.97°)
OKLaboklab(53.08% -0.1219 0.0903)
OKLCHoklch(53.08% 0.152 143.5)
XYZxyz(8.9957, 16.2461, 4.6688)
Luminance0.1625 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#258128 #81257E
analogous
#508125 #258128 #258156
triadic
#258128 #282581 #812825
tetradic
#258128 #255081 #81257E #815625
square
#258128 #255081 #81257E #815625
split-complementary
#258128 #562581 #812550
monochromatic
#0A220B #175119 #258128 #33B137 #53CE57

Accessibility & contrast

On white

4.94
#258128 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#258128 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #258128
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##258128#FFFFFF#000000##FFFFFF
##2581281.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84751C
Deuteranopia (green-blind)
#796D30
Tritanopia (blue-blind)
#097D6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #258128;
/* rgb */ color: rgb(37, 129, 40);
/* oklch */ color: oklch(53.1% 0.152 143.5);
Tailwind
colors: {
  custom: {
    50: '#6ea666',
    500: '#258128',
    950: '#000000',
  },
}
SCSS
$custom: #258128;
$custom-light: #6ea666;
$custom-dark: #000000;
JSON
{
  "hex": "#258128",
  "rgb": {
    "r": 37,
    "g": 129,
    "b": 40
  },
  "hsl": {
    "h": 121.957,
    "s": 55.422,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53079,
    "c": 0.1517,
    "h": 143.5
  },
  "luminance": 0.16247
}

Semantic roles & 50–950 ramp

primary
#258128
secondary
#B250AF
accent
#49DADF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #258128

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

Preview Lab → · Contrast checker → · Palette generator →

#258128 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva