#257E40#257E40

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

Color values

HEX#257E40
RGBrgb(37, 126, 64)
HSLhsl(138, 55%, 32%)
HSVhsv(138, 71%, 49%)
CMYKcmyk(70.6%, 0%, 49.2%, 50.6%)
CIE-LABlab(46.56, -40.50, 26.26)
CIE-LCHlch(46.56, 48.27, 147.04°)
OKLaboklab(52.56% -0.1091 0.0641)
OKLCHoklch(52.56% 0.127 149.6)
XYZxyz(9.1485, 15.6842, 7.3947)
Luminance0.1568 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257E40 #7E2563
analogous
#377E25 #257E40 #257E6D
triadic
#257E40 #40257E #7E4025
tetradic
#257E40 #25377E #7E2563 #7E6D25
square
#257E40 #25377E #7E2563 #7E6D25
split-complementary
#257E40 #6D257E #7E2537
monochromatic
#091F10 #174F28 #257E40 #33AD58 #51CC77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##257E40#FFFFFF#000000##FFFFFF
##257E401.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F733B
Deuteranopia (green-blind)
#746B44
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #257e40;
/* rgb */ color: rgb(37, 126, 64);
/* oklch */ color: oklch(52.6% 0.127 149.6);
Tailwind
colors: {
  custom: {
    50: '#6ca476',
    500: '#257e40',
    950: '#000000',
  },
}
SCSS
$custom: #257e40;
$custom-light: #6ca476;
$custom-dark: #000000;
JSON
{
  "hex": "#257e40",
  "rgb": {
    "r": 37,
    "g": 126,
    "b": 64
  },
  "hsl": {
    "h": 138.202,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5256,
    "c": 0.12655,
    "h": 149.6
  },
  "luminance": 0.15685
}

Semantic roles & 50–950 ramp

primary
#257E40
secondary
#B04F93
accent
#4AB1DE
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#080F08
muted
#7A7F7B

Preview Lab

Preview with #257E40

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

Preview Lab → · Contrast checker → · Palette generator →

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