#257F1C#257F1C

#257F1C is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.4% C 0.157 H 141.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#257F1C
RGBrgb(37, 127, 28)
HSLhsl(115, 64%, 30%)
HSVhsv(115, 78%, 50%)
CMYKcmyk(70.9%, 0%, 78%, 50.2%)
CIE-LABlab(46.52, -45.34, 43.19)
CIE-LCHlch(46.52, 62.62, 136.39°)
OKLaboklab(52.41% -0.1236 0.0972)
OKLCHoklch(52.41% 0.157 141.8)
XYZxyz(8.5614, 15.6550, 3.6689)
Luminance0.1566 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257F1C #761C7F
analogous
#577F1C #257F1C #1C7F44
triadic
#257F1C #1C257F #7F1C25
tetradic
#257F1C #1C577F #761C7F #7F441C
square
#257F1C #1C577F #761C7F #7F441C
split-complementary
#257F1C #441C7F #7F1C57
monochromatic
#081B06 #164D11 #257F1C #34B127 #4ED540

Accessibility & contrast

On white

5.08
#257F1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #257F1C
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257F1C#FFFFFF#000000##FFFFFF
##257F1C1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827306
Deuteranopia (green-blind)
#786B27
Tritanopia (blue-blind)
#0F7B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #257f1c;
/* rgb */ color: rgb(37, 127, 28);
/* oklch */ color: oklch(52.4% 0.157 141.8);
Tailwind
colors: {
  custom: {
    50: '#6ea560',
    500: '#257f1c',
    950: '#000000',
  },
}
SCSS
$custom: #257f1c;
$custom-light: #6ea560;
$custom-dark: #000000;
JSON
{
  "hex": "#257f1c",
  "rgb": {
    "r": 37,
    "g": 127,
    "b": 28
  },
  "hsl": {
    "h": 114.545,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52405,
    "c": 0.15721,
    "h": 141.8
  },
  "luminance": 0.15656
}

Semantic roles & 50–950 ramp

primary
#257F1C
secondary
#A944B3
accent
#41E7D8
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #257F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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