#257A17#257A17

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

Color values

HEX#257A17
RGBrgb(37, 122, 23)
HSLhsl(112, 68%, 28%)
HSVhsv(112, 81%, 48%)
CMYKcmyk(69.7%, 0%, 81.1%, 52.2%)
CIE-LABlab(44.76, -43.92, 43.24)
CIE-LCHlch(44.76, 61.63, 135.45°)
OKLaboklab(50.94% -0.12 0.0965)
OKLCHoklch(50.94% 0.154 141.2)
XYZxyz(7.8767, 14.3734, 3.1697)
Luminance0.1437 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257A17 #6C177A
analogous
#567A17 #257A17 #177A3A
triadic
#257A17 #17257A #7A1725
tetradic
#257A17 #17567A #6C177A #7A3A17
square
#257A17 #17567A #6C177A #7A3A17
split-complementary
#257A17 #3A177A #7A1756
monochromatic
#081A05 #15470D #257A17 #35AD21 #4AD933

Accessibility & contrast

On white

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

On black

3.87
#257A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##257A17#FFFFFF#000000##FFFFFF
##257A171.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #257a17;
/* rgb */ color: rgb(37, 122, 23);
/* oklch */ color: oklch(50.9% 0.154 141.2);
Tailwind
colors: {
  custom: {
    50: '#6da15d',
    500: '#257a17',
    950: '#000000',
  },
}
SCSS
$custom: #257a17;
$custom-light: #6da15d;
$custom-dark: #000000;
JSON
{
  "hex": "#257a17",
  "rgb": {
    "r": 37,
    "g": 122,
    "b": 23
  },
  "hsl": {
    "h": 111.515,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50941,
    "c": 0.15401,
    "h": 141.2
  },
  "luminance": 0.14374
}

Semantic roles & 50–950 ramp

primary
#257A17
secondary
#9F3EAF
accent
#3DEBD2
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #257A17

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

Preview Lab → · Contrast checker → · Palette generator →

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