#257F40#257F40

#257F40 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.128 H 149.4°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#257F40
RGBrgb(37, 127, 64)
HSLhsl(138, 55%, 32%)
HSVhsv(138, 71%, 50%)
CMYKcmyk(70.9%, 0%, 49.6%, 50.2%)
CIE-LABlab(46.90, -40.90, 26.69)
CIE-LCHlch(46.90, 48.84, 146.87°)
OKLaboklab(52.84% -0.1102 0.0651)
OKLCHoklch(52.84% 0.128 149.4)
XYZxyz(9.2770, 15.9412, 7.4375)
Luminance0.1594 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257F40 #7F2564
analogous
#377F25 #257F40 #257F6D
triadic
#257F40 #40257F #7F4025
tetradic
#257F40 #25377F #7F2564 #7F6D25
square
#257F40 #25377F #7F2564 #7F6D25
split-complementary
#257F40 #6D257F #7F2537
monochromatic
#092010 #175028 #257F40 #33AE58 #52CD77

Accessibility & contrast

On white

5.01
#257F40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#257F40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257F40
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257F40#FFFFFF#000000##FFFFFF
##257F401.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80743B
Deuteranopia (green-blind)
#756C44
Tritanopia (blue-blind)
#007D70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #257f40;
/* rgb */ color: rgb(37, 127, 64);
/* oklch */ color: oklch(52.8% 0.128 149.4);
Tailwind
colors: {
  custom: {
    50: '#6ca576',
    500: '#257f40',
    950: '#000000',
  },
}
SCSS
$custom: #257f40;
$custom-light: #6ca576;
$custom-dark: #000000;
JSON
{
  "hex": "#257f40",
  "rgb": {
    "r": 37,
    "g": 127,
    "b": 64
  },
  "hsl": {
    "h": 138,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52841,
    "c": 0.12796,
    "h": 149.4
  },
  "luminance": 0.15942
}

Semantic roles & 50–950 ramp

primary
#257F40
secondary
#B14F93
accent
#4AB2DE
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#080F08
muted
#7A7F7B

Preview Lab

Preview with #257F40

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

Preview Lab → · Contrast checker → · Palette generator →

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