#258728#258728

#258728 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.159 H 143.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#258728
RGBrgb(37, 135, 40)
HSLhsl(122, 57%, 34%)
HSVhsv(122, 73%, 53%)
CMYKcmyk(72.6%, 0%, 70.4%, 47.1%)
CIE-LABlab(49.34, -47.11, 41.33)
CIE-LCHlch(49.34, 62.67, 138.74°)
OKLaboklab(54.78% -0.1278 0.0949)
OKLCHoklch(54.78% 0.159 143.4)
XYZxyz(9.8093, 17.8734, 4.9400)
Luminance0.1787 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#258728 #872584
analogous
#538725 #258728 #258759
triadic
#258728 #282587 #872825
tetradic
#258728 #255387 #872584 #875925
square
#258728 #255387 #872584 #875925
split-complementary
#258728 #592587 #872553
monochromatic
#0B270C #18571A #258728 #32B736 #56D15A

Accessibility & contrast

On white

4.59
#258728 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#258728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #258728
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##258728#FFFFFF#000000##FFFFFF
##2587281.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A1A
Deuteranopia (green-blind)
#7F7231
Tritanopia (blue-blind)
#038374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #258728;
/* rgb */ color: rgb(37, 135, 40);
/* oklch */ color: oklch(54.8% 0.159 143.4);
Tailwind
colors: {
  custom: {
    50: '#6fab67',
    500: '#258728',
    950: '#000000',
  },
}
SCSS
$custom: #258728;
$custom-light: #6fab67;
$custom-dark: #000000;
JSON
{
  "hex": "#258728",
  "rgb": {
    "r": 37,
    "g": 135,
    "b": 40
  },
  "hsl": {
    "h": 121.837,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54775,
    "c": 0.15913,
    "h": 143.4
  },
  "luminance": 0.17874
}

Semantic roles & 50–950 ramp

primary
#258728
secondary
#B553B2
accent
#48DCE0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #258728

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

Preview Lab → · Contrast checker → · Palette generator →

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