#257E1B#257E1B

#257E1B is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.157 H 141.7°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#257E1B
RGBrgb(37, 126, 27)
HSLhsl(114, 65%, 30%)
HSVhsv(114, 79%, 49%)
CMYKcmyk(70.6%, 0%, 78.6%, 50.6%)
CIE-LABlab(46.17, -45.06, 43.21)
CIE-LCHlch(46.17, 62.43, 136.20°)
OKLaboklab(52.11% -0.1229 0.0971)
OKLCHoklch(52.11% 0.157 141.7)
XYZxyz(8.4212, 15.3933, 3.5641)
Luminance0.1539 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257E1B #741B7E
analogous
#577E1B #257E1B #1B7E42
triadic
#257E1B #1B257E #7E1B25
tetradic
#257E1B #1B577E #741B7E #7E421B
square
#257E1B #1B577E #741B7E #7E421B
split-complementary
#257E1B #421B7E #7E1B57
monochromatic
#071905 #164C10 #257E1B #34B026 #4DD63E

Accessibility & contrast

On white

5.15
#257E1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#257E1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257E1B
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257E1B#FFFFFF#000000##FFFFFF
##257E1B1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817205
Deuteranopia (green-blind)
#776B26
Tritanopia (blue-blind)
#107A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #257e1b;
/* rgb */ color: rgb(37, 126, 27);
/* oklch */ color: oklch(52.1% 0.157 141.7);
Tailwind
colors: {
  custom: {
    50: '#6ea45f',
    500: '#257e1b',
    950: '#000000',
  },
}
SCSS
$custom: #257e1b;
$custom-light: #6ea45f;
$custom-dark: #000000;
JSON
{
  "hex": "#257e1b",
  "rgb": {
    "r": 37,
    "g": 126,
    "b": 27
  },
  "hsl": {
    "h": 113.939,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.52113,
    "c": 0.15659,
    "h": 141.7
  },
  "luminance": 0.15394
}

Semantic roles & 50–950 ramp

primary
#257E1B
secondary
#A743B2
accent
#40E8D7
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #257E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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