#257E42#257E42

#257E42 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.6% C 0.125 H 150.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#257E42
RGBrgb(37, 126, 66)
HSLhsl(140, 55%, 32%)
HSVhsv(140, 71%, 49%)
CMYKcmyk(70.6%, 0%, 47.6%, 50.6%)
CIE-LABlab(46.59, -40.15, 25.20)
CIE-LCHlch(46.59, 47.41, 147.88°)
OKLaboklab(52.6% -0.1082 0.0618)
OKLCHoklch(52.6% 0.125 150.3)
XYZxyz(9.2064, 15.7074, 7.6998)
Luminance0.1571 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257E42 #7E2561
analogous
#347E25 #257E42 #257E6F
triadic
#257E42 #42257E #7E4225
tetradic
#257E42 #25347E #7E2561 #7E6F25
square
#257E42 #25347E #7E2561 #7E6F25
split-complementary
#257E42 #6F257E #7E2534
monochromatic
#091F10 #174F29 #257E42 #33AD5B #51CC79

Accessibility & contrast

On white

5.07
#257E42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#257E42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257E42
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257E42#FFFFFF#000000##FFFFFF
##257E421.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F733D
Deuteranopia (green-blind)
#746B46
Tritanopia (blue-blind)
#007C70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #257e42;
/* rgb */ color: rgb(37, 126, 66);
/* oklch */ color: oklch(52.6% 0.125 150.3);
Tailwind
colors: {
  custom: {
    50: '#6ca477',
    500: '#257e42',
    950: '#000000',
  },
}
SCSS
$custom: #257e42;
$custom-light: #6ca477;
$custom-dark: #000000;
JSON
{
  "hex": "#257e42",
  "rgb": {
    "r": 37,
    "g": 126,
    "b": 66
  },
  "hsl": {
    "h": 139.551,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52596,
    "c": 0.12458,
    "h": 150.3
  },
  "luminance": 0.15708
}

Semantic roles & 50–950 ramp

primary
#257E42
secondary
#B04F90
accent
#4AAEDE
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #257E42

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

Preview Lab → · Contrast checker → · Palette generator →

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