#258518#258518

#258518 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.1% C 0.166 H 141.5°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#258518
RGBrgb(37, 133, 24)
HSLhsl(113, 69%, 31%)
HSVhsv(113, 82%, 52%)
CMYKcmyk(72.2%, 0%, 82%, 47.8%)
CIE-LABlab(48.55, -47.72, 46.52)
CIE-LCHlch(48.55, 66.64, 135.73°)
OKLaboklab(54.09% -0.1302 0.1035)
OKLCHoklch(54.09% 0.166 141.5)
XYZxyz(9.3148, 17.2333, 3.6994)
Luminance0.1723 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#258518 #781885
analogous
#5B8518 #258518 #188541
triadic
#258518 #182585 #851825
tetradic
#258518 #185B85 #781885 #854118
square
#258518 #185B85 #781885 #854118
split-complementary
#258518 #411885 #85185B
monochromatic
#081D05 #17510F #258518 #33B921 #4FDC3C

Accessibility & contrast

On white

4.72
#258518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#258518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #258518
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##258518#FFFFFF#000000##FFFFFF
##2585181.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#7D7025
Tritanopia (blue-blind)
#0C8171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #258518;
/* rgb */ color: rgb(37, 133, 24);
/* oklch */ color: oklch(54.1% 0.166 141.5);
Tailwind
colors: {
  custom: {
    50: '#70a95f',
    500: '#258518',
    950: '#000000',
  },
}
SCSS
$custom: #258518;
$custom-light: #70a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#258518",
  "rgb": {
    "r": 37,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 112.844,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54086,
    "c": 0.16635,
    "h": 141.5
  },
  "luminance": 0.17234
}

Semantic roles & 50–950 ramp

primary
#258518
secondary
#AA40B9
accent
#3CECD7
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #258518

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

Preview Lab → · Contrast checker → · Palette generator →

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