#257240#257240

#257240 is a mid, moderate green. Relative luminance 0.128; OKLCH L 49.2% C 0.109 H 151.6°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#257240
RGBrgb(37, 114, 64)
HSLhsl(141, 51%, 30%)
HSVhsv(141, 68%, 45%)
CMYKcmyk(67.5%, 0%, 43.9%, 55.3%)
CIE-LABlab(42.46, -35.57, 21.00)
CIE-LCHlch(42.46, 41.31, 149.45°)
OKLaboklab(49.18% -0.096 0.052)
OKLCHoklch(49.18% 0.109 151.6)
XYZxyz(7.7051, 12.7973, 6.9136)
Luminance0.1280 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257240 #722557
analogous
#317225 #257240 #257267
triadic
#257240 #402572 #724025
tetradic
#257240 #253172 #722557 #726725
square
#257240 #253172 #722557 #726725
split-complementary
#257240 #672572 #722531
monochromatic
#07170D #164426 #257240 #34A05A #4CC577

Accessibility & contrast

On white

5.90
#257240 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#257240 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257240
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257240#FFFFFF#000000##FFFFFF
##2572401.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72683C
Deuteranopia (green-blind)
#696143
Tritanopia (blue-blind)
#047066
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #257240;
/* rgb */ color: rgb(37, 114, 64);
/* oklch */ color: oklch(49.2% 0.109 151.6);
Tailwind
colors: {
  custom: {
    50: '#699b75',
    500: '#257240',
    950: '#000000',
  },
}
SCSS
$custom: #257240;
$custom-light: #699b75;
$custom-dark: #000000;
JSON
{
  "hex": "#257240",
  "rgb": {
    "r": 37,
    "g": 114,
    "b": 64
  },
  "hsl": {
    "h": 141.039,
    "s": 50.993,
    "l": 29.608
  },
  "oklch": {
    "l": 0.4918,
    "c": 0.1092,
    "h": 151.6
  },
  "luminance": 0.12798
}

Semantic roles & 50–950 ramp

primary
#257240
secondary
#A54E86
accent
#4DA9DA
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #257240

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

Preview Lab → · Contrast checker → · Palette generator →

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