#257918#257918

#257918 is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.7% C 0.152 H 141.3°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#257918
RGBrgb(37, 121, 24)
HSLhsl(112, 67%, 28%)
HSVhsv(112, 80%, 47%)
CMYKcmyk(69.4%, 0%, 80.2%, 52.5%)
CIE-LABlab(44.42, -43.49, 42.57)
CIE-LCHlch(44.42, 60.86, 135.61°)
OKLaboklab(50.66% -0.1188 0.0953)
OKLCHoklch(50.66% 0.152 141.3)
XYZxyz(7.7648, 14.1332, 3.1828)
Luminance0.1413 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257918 #6C1879
analogous
#557918 #257918 #18793B
triadic
#257918 #182579 #791825
tetradic
#257918 #185579 #6C1879 #793B18
square
#257918 #185579 #6C1879 #793B18
split-complementary
#257918 #3B1879 #791855
monochromatic
#081A05 #15460E #257918 #35AC22 #4AD735

Accessibility & contrast

On white

5.49
#257918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#257918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257918
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257918#FFFFFF#000000##FFFFFF
##2579181.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D01
Deuteranopia (green-blind)
#726623
Tritanopia (blue-blind)
#147567
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #257918;
/* rgb */ color: rgb(37, 121, 24);
/* oklch */ color: oklch(50.7% 0.152 141.3);
Tailwind
colors: {
  custom: {
    50: '#6da15d',
    500: '#257918',
    950: '#000000',
  },
}
SCSS
$custom: #257918;
$custom-light: #6da15d;
$custom-dark: #000000;
JSON
{
  "hex": "#257918",
  "rgb": {
    "r": 37,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 111.959,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5066,
    "c": 0.15228,
    "h": 141.3
  },
  "luminance": 0.14134
}

Semantic roles & 50–950 ramp

primary
#257918
secondary
#9F3FAE
accent
#3EEAD3
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #257918

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

Preview Lab → · Contrast checker → · Palette generator →

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