#257940#257940

#257940 is a mid, moderate green. Relative luminance 0.144; OKLCH L 51.2% C 0.119 H 150.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#257940
RGBrgb(37, 121, 64)
HSLhsl(139, 53%, 31%)
HSVhsv(139, 69%, 47%)
CMYKcmyk(69.4%, 0%, 47.1%, 52.5%)
CIE-LABlab(44.85, -38.48, 24.09)
CIE-LCHlch(44.85, 45.40, 147.95°)
OKLaboklab(51.15% -0.1038 0.0591)
OKLCHoklch(51.15% 0.119 150.3)
XYZxyz(8.5251, 14.4373, 7.1869)
Luminance0.1444 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257940 #79255E
analogous
#347925 #257940 #25796A
triadic
#257940 #402579 #794025
tetradic
#257940 #253479 #79255E #796A25
square
#257940 #253479 #79255E #796A25
split-complementary
#257940 #6A2579 #792534
monochromatic
#081B0E #174A27 #257940 #33A859 #4FC976

Accessibility & contrast

On white

5.40
#257940 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#257940 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257940
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257940#FFFFFF#000000##FFFFFF
##2579401.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6F3C
Deuteranopia (green-blind)
#6F6744
Tritanopia (blue-blind)
#00776B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #257940;
/* rgb */ color: rgb(37, 121, 64);
/* oklch */ color: oklch(51.2% 0.119 150.3);
Tailwind
colors: {
  custom: {
    50: '#6ba076',
    500: '#257940',
    950: '#000000',
  },
}
SCSS
$custom: #257940;
$custom-light: #6ba076;
$custom-dark: #000000;
JSON
{
  "hex": "#257940",
  "rgb": {
    "r": 37,
    "g": 121,
    "b": 64
  },
  "hsl": {
    "h": 139.286,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51155,
    "c": 0.11943,
    "h": 150.3
  },
  "luminance": 0.14438
}

Semantic roles & 50–950 ramp

primary
#257940
secondary
#AB4E8D
accent
#4BAEDD
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070F08
muted
#7A7E7B

Preview Lab

Preview with #257940

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

Preview Lab → · Contrast checker → · Palette generator →

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