#258018#258018

#258018 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.7% C 0.161 H 141.4°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#258018
RGBrgb(37, 128, 24)
HSLhsl(113, 68%, 30%)
HSVhsv(113, 81%, 50%)
CMYKcmyk(71.1%, 0%, 81.3%, 49.8%)
CIE-LABlab(46.84, -45.98, 44.89)
CIE-LCHlch(46.84, 64.26, 135.69°)
OKLaboklab(52.66% -0.1255 0.1001)
OKLCHoklch(52.66% 0.161 141.4)
XYZxyz(8.6465, 15.8967, 3.4767)
Luminance0.1590 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#258018 #731880
analogous
#598018 #258018 #18803F
triadic
#258018 #182580 #801825
tetradic
#258018 #185980 #731880 #803F18
square
#258018 #185980 #731880 #803F18
split-complementary
#258018 #3F1880 #801859
monochromatic
#071A05 #164C0E #258018 #34B422 #4DDA39

Accessibility & contrast

On white

5.02
#258018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#258018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #258018
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##258018#FFFFFF#000000##FFFFFF
##2580181.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#796C24
Tritanopia (blue-blind)
#107C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #258018;
/* rgb */ color: rgb(37, 128, 24);
/* oklch */ color: oklch(52.7% 0.161 141.4);
Tailwind
colors: {
  custom: {
    50: '#6ea65e',
    500: '#258018',
    950: '#000000',
  },
}
SCSS
$custom: #258018;
$custom-light: #6ea65e;
$custom-dark: #000000;
JSON
{
  "hex": "#258018",
  "rgb": {
    "r": 37,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 112.5,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52663,
    "c": 0.16057,
    "h": 141.4
  },
  "luminance": 0.15898
}

Semantic roles & 50–950 ramp

primary
#258018
secondary
#A640B4
accent
#3DEBD5
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #258018

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

Preview Lab → · Contrast checker → · Palette generator →

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