#257A18#257A18

#257A18 is a mid, vivid green. Relative luminance 0.144; OKLCH L 50.9% C 0.153 H 141.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#257A18
RGBrgb(37, 122, 24)
HSLhsl(112, 67%, 29%)
HSVhsv(112, 80%, 48%)
CMYKcmyk(69.7%, 0%, 80.3%, 52.2%)
CIE-LABlab(44.77, -43.85, 42.90)
CIE-LCHlch(44.77, 61.35, 135.63°)
OKLaboklab(50.95% -0.1198 0.096)
OKLCHoklch(50.95% 0.153 141.3)
XYZxyz(7.8869, 14.3775, 3.2235)
Luminance0.1438 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257A18 #6D187A
analogous
#567A18 #257A18 #187A3C
triadic
#257A18 #18257A #7A1825
tetradic
#257A18 #18567A #6D187A #7A3C18
square
#257A18 #18567A #6D187A #7A3C18
split-complementary
#257A18 #3C187A #7A1856
monochromatic
#081A05 #15470E #257A18 #35AD22 #4BD735

Accessibility & contrast

On white

5.42
#257A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#257A18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257A18
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257A18#FFFFFF#000000##FFFFFF
##257A181.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E01
Deuteranopia (green-blind)
#736723
Tritanopia (blue-blind)
#137668
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #257a18;
/* rgb */ color: rgb(37, 122, 24);
/* oklch */ color: oklch(50.9% 0.153 141.3);
Tailwind
colors: {
  custom: {
    50: '#6da15d',
    500: '#257a18',
    950: '#000000',
  },
}
SCSS
$custom: #257a18;
$custom-light: #6da15d;
$custom-dark: #000000;
JSON
{
  "hex": "#257a18",
  "rgb": {
    "r": 37,
    "g": 122,
    "b": 24
  },
  "hsl": {
    "h": 112.041,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50947,
    "c": 0.15348,
    "h": 141.3
  },
  "luminance": 0.14378
}

Semantic roles & 50–950 ramp

primary
#257A18
secondary
#A03FAF
accent
#3EEAD3
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #257A18

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

Preview Lab → · Contrast checker → · Palette generator →

#257A18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva