#257540#257540

#257540 is a mid, moderate green. Relative luminance 0.135; OKLCH L 50.0% C 0.114 H 151.0°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#257540
RGBrgb(37, 117, 64)
HSLhsl(140, 52%, 30%)
HSVhsv(140, 68%, 46%)
CMYKcmyk(68.4%, 0%, 45.3%, 54.1%)
CIE-LABlab(43.49, -36.83, 22.33)
CIE-LCHlch(43.49, 43.08, 148.77°)
OKLaboklab(50.03% -0.0994 0.0551)
OKLCHoklch(50.03% 0.114 151)
XYZxyz(8.0490, 13.4852, 7.0282)
Luminance0.1349 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257540 #75255A
analogous
#327525 #257540 #257568
triadic
#257540 #402575 #754025
tetradic
#257540 #253275 #75255A #756825
square
#257540 #253275 #75255A #756825
split-complementary
#257540 #682575 #752532
monochromatic
#08180D #164727 #257540 #34A359 #4EC776

Accessibility & contrast

On white

5.68
#257540 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#257540 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257540
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257540#FFFFFF#000000##FFFFFF
##2575401.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766B3C
Deuteranopia (green-blind)
#6B6444
Tritanopia (blue-blind)
#017368
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #257540;
/* rgb */ color: rgb(37, 117, 64);
/* oklch */ color: oklch(50.0% 0.114 151.0);
Tailwind
colors: {
  custom: {
    50: '#6a9d75',
    500: '#257540',
    950: '#000000',
  },
}
SCSS
$custom: #257540;
$custom-light: #6a9d75;
$custom-dark: #000000;
JSON
{
  "hex": "#257540",
  "rgb": {
    "r": 37,
    "g": 117,
    "b": 64
  },
  "hsl": {
    "h": 140.25,
    "s": 51.948,
    "l": 30.196
  },
  "oklch": {
    "l": 0.50027,
    "c": 0.11362,
    "h": 151
  },
  "luminance": 0.13486
}

Semantic roles & 50–950 ramp

primary
#257540
secondary
#A84E89
accent
#4CABDB
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #257540

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

Preview Lab → · Contrast checker → · Palette generator →

#257540 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva