#258240#258240

#258240 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.7% C 0.132 H 149.1°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#258240
RGBrgb(37, 130, 64)
HSLhsl(137, 56%, 33%)
HSVhsv(137, 72%, 51%)
CMYKcmyk(71.5%, 0%, 50.8%, 49%)
CIE-LABlab(47.92, -42.08, 27.96)
CIE-LCHlch(47.92, 50.52, 146.39°)
OKLaboklab(53.68% -0.1133 0.068)
OKLCHoklch(53.68% 0.132 149.1)
XYZxyz(9.6702, 16.7277, 7.5686)
Luminance0.1673 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#258240 #822567
analogous
#398225 #258240 #25826E
triadic
#258240 #402582 #824025
tetradic
#258240 #253982 #822567 #826E25
square
#258240 #253982 #822567 #826E25
split-complementary
#258240 #6E2582 #822539
monochromatic
#0A2311 #175229 #258240 #33B257 #53CE77

Accessibility & contrast

On white

4.83
#258240 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#258240 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #258240
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##258240#FFFFFF#000000##FFFFFF
##2582401.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83763B
Deuteranopia (green-blind)
#786F45
Tritanopia (blue-blind)
#007F73
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #258240;
/* rgb */ color: rgb(37, 130, 64);
/* oklch */ color: oklch(53.7% 0.132 149.1);
Tailwind
colors: {
  custom: {
    50: '#6da776',
    500: '#258240',
    950: '#000000',
  },
}
SCSS
$custom: #258240;
$custom-light: #6da776;
$custom-dark: #000000;
JSON
{
  "hex": "#258240",
  "rgb": {
    "r": 37,
    "g": 130,
    "b": 64
  },
  "hsl": {
    "h": 137.419,
    "s": 55.689,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53681,
    "c": 0.13214,
    "h": 149.1
  },
  "luminance": 0.16729
}

Semantic roles & 50–950 ramp

primary
#258240
secondary
#B25096
accent
#49B3DF
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #258240

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

Preview Lab → · Contrast checker → · Palette generator →

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