#257F4D#257F4D

#257F4D is a mid, moderate green. Relative luminance 0.161; OKLCH L 53.1% C 0.115 H 154.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#257F4D
RGBrgb(37, 127, 77)
HSLhsl(147, 55%, 32%)
HSVhsv(147, 71%, 50%)
CMYKcmyk(70.9%, 0%, 39.4%, 50.2%)
CIE-LABlab(47.11, -38.46, 19.75)
CIE-LCHlch(47.11, 43.23, 152.82°)
OKLaboklab(53.09% -0.1039 0.0494)
OKLCHoklch(53.09% 0.115 154.6)
XYZxyz(9.6910, 16.1068, 9.6179)
Luminance0.1611 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257F4D #7F2557
analogous
#2A7F25 #257F4D #257F7A
triadic
#257F4D #4D257F #7F4D25
tetradic
#257F4D #252A7F #7F2557 #7F7A25
square
#257F4D #252A7F #7F2557 #7F7A25
split-complementary
#257F4D #7A257F #7F252A
monochromatic
#092014 #175030 #257F4D #33AE6A #52CD88

Accessibility & contrast

On white

4.97
#257F4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#257F4D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257F4D
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257F4D#FFFFFF#000000##FFFFFF
##257F4D1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F754A
Deuteranopia (green-blind)
#736C50
Tritanopia (blue-blind)
#007E72
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #257f4d;
/* rgb */ color: rgb(37, 127, 77);
/* oklch */ color: oklch(53.1% 0.115 154.6);
Tailwind
colors: {
  custom: {
    50: '#6ca57f',
    500: '#257f4d',
    950: '#000000',
  },
}
SCSS
$custom: #257f4d;
$custom-light: #6ca57f;
$custom-dark: #000000;
JSON
{
  "hex": "#257f4d",
  "rgb": {
    "r": 37,
    "g": 127,
    "b": 77
  },
  "hsl": {
    "h": 146.667,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53091,
    "c": 0.11507,
    "h": 154.6
  },
  "luminance": 0.16108
}

Semantic roles & 50–950 ramp

primary
#257F4D
secondary
#B14F85
accent
#4A9CDE
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#080F0A
muted
#7A7F7C

Preview Lab

Preview with #257F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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