#257F17#257F17

#257F17 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.160 H 141.3°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#257F17
RGBrgb(37, 127, 23)
HSLhsl(112, 69%, 29%)
HSVhsv(112, 82%, 50%)
CMYKcmyk(70.9%, 0%, 81.9%, 50.2%)
CIE-LABlab(46.49, -45.70, 44.89)
CIE-LCHlch(46.49, 64.06, 135.51°)
OKLaboklab(52.37% -0.1248 0.1)
OKLCHoklch(52.37% 0.16 141.3)
XYZxyz(8.5065, 15.6330, 3.3796)
Luminance0.1563 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257F17 #71177F
analogous
#597F17 #257F17 #177F3D
triadic
#257F17 #17257F #7F1725
tetradic
#257F17 #17597F #71177F #7F3D17
square
#257F17 #17597F #71177F #7F3D17
split-complementary
#257F17 #3D177F #7F1759
monochromatic
#081A05 #164B0E #257F17 #34B320 #4CDB36

Accessibility & contrast

On white

5.09
#257F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#257F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257F17
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257F17#FFFFFF#000000##FFFFFF
##257F171.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#786B23
Tritanopia (blue-blind)
#117B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #257f17;
/* rgb */ color: rgb(37, 127, 23);
/* oklch */ color: oklch(52.4% 0.160 141.3);
Tailwind
colors: {
  custom: {
    50: '#6ea55e',
    500: '#257f17',
    950: '#000000',
  },
}
SCSS
$custom: #257f17;
$custom-light: #6ea55e;
$custom-dark: #000000;
JSON
{
  "hex": "#257f17",
  "rgb": {
    "r": 37,
    "g": 127,
    "b": 23
  },
  "hsl": {
    "h": 111.923,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52372,
    "c": 0.1599,
    "h": 141.3
  },
  "luminance": 0.15634
}

Semantic roles & 50–950 ramp

primary
#257F17
secondary
#A43EB4
accent
#3CECD4
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #257F17

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

Preview Lab → · Contrast checker → · Palette generator →

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