#257A40#257A40

#257A40 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.4% C 0.121 H 150.2°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#257A40
RGBrgb(37, 122, 64)
HSLhsl(139, 53%, 31%)
HSVhsv(139, 70%, 48%)
CMYKcmyk(69.7%, 0%, 47.5%, 52.2%)
CIE-LABlab(45.20, -38.89, 24.53)
CIE-LCHlch(45.20, 45.98, 147.76°)
OKLaboklab(51.44% -0.1048 0.0601)
OKLCHoklch(51.44% 0.121 150.2)
XYZxyz(8.6472, 14.6816, 7.2276)
Luminance0.1468 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257A40 #7A255F
analogous
#347A25 #257A40 #257A6A
triadic
#257A40 #40257A #7A4025
tetradic
#257A40 #25347A #7A255F #7A6A25
square
#257A40 #25347A #7A255F #7A6A25
split-complementary
#257A40 #6A257A #7A2534
monochromatic
#091C0F #174B27 #257A40 #33A959 #50CA76

Accessibility & contrast

On white

5.33
#257A40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#257A40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257A40
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257A40#FFFFFF#000000##FFFFFF
##257A401.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6F3C
Deuteranopia (green-blind)
#706844
Tritanopia (blue-blind)
#00786C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #257a40;
/* rgb */ color: rgb(37, 122, 64);
/* oklch */ color: oklch(51.4% 0.121 150.2);
Tailwind
colors: {
  custom: {
    50: '#6ba176',
    500: '#257a40',
    950: '#000000',
  },
}
SCSS
$custom: #257a40;
$custom-light: #6ba176;
$custom-dark: #000000;
JSON
{
  "hex": "#257a40",
  "rgb": {
    "r": 37,
    "g": 122,
    "b": 64
  },
  "hsl": {
    "h": 139.059,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51436,
    "c": 0.12086,
    "h": 150.2
  },
  "luminance": 0.14683
}

Semantic roles & 50–950 ramp

primary
#257A40
secondary
#AC4E8F
accent
#4BAFDD
background
#F6FAF7
surface
#ECF3ED
border
#C7CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #257A40

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

Preview Lab → · Contrast checker → · Palette generator →

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