#257F4C#257F4C

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

Color values

HEX#257F4C
RGBrgb(37, 127, 76)
HSLhsl(146, 55%, 32%)
HSVhsv(146, 71%, 50%)
CMYKcmyk(70.9%, 0%, 40.2%, 50.2%)
CIE-LABlab(47.10, -38.66, 20.29)
CIE-LCHlch(47.10, 43.66, 152.31°)
OKLaboklab(53.07% -0.1044 0.0506)
OKLCHoklch(53.07% 0.116 154.1)
XYZxyz(9.6560, 16.0928, 9.4334)
Luminance0.1609 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257F4C #7F2558
analogous
#2B7F25 #257F4C #257F79
triadic
#257F4C #4C257F #7F4C25
tetradic
#257F4C #252B7F #7F2558 #7F7925
square
#257F4C #252B7F #7F2558 #7F7925
split-complementary
#257F4C #79257F #7F252B
monochromatic
#092013 #175030 #257F4C #33AE68 #52CD87

Accessibility & contrast

On white

4.98
#257F4C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #257F4C
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257F4C#FFFFFF#000000##FFFFFF
##257F4C1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7449
Deuteranopia (green-blind)
#736C4F
Tritanopia (blue-blind)
#007D72
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #257f4c;
/* rgb */ color: rgb(37, 127, 76);
/* oklch */ color: oklch(53.1% 0.116 154.1);
Tailwind
colors: {
  custom: {
    50: '#6ca57e',
    500: '#257f4c',
    950: '#000000',
  },
}
SCSS
$custom: #257f4c;
$custom-light: #6ca57e;
$custom-dark: #000000;
JSON
{
  "hex": "#257f4c",
  "rgb": {
    "r": 37,
    "g": 127,
    "b": 76
  },
  "hsl": {
    "h": 146,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5307,
    "c": 0.11606,
    "h": 154.1
  },
  "luminance": 0.16094
}

Semantic roles & 50–950 ramp

primary
#257F4C
secondary
#B14F86
accent
#4A9EDE
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#080F0A
muted
#7A7F7C

Preview Lab

Preview with #257F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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