#257F3A#257F3A

#257F3A is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.7% C 0.134 H 147.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#257F3A
RGBrgb(37, 127, 58)
HSLhsl(134, 55%, 32%)
HSVhsv(134, 71%, 50%)
CMYKcmyk(70.9%, 0%, 54.3%, 50.2%)
CIE-LABlab(46.81, -41.88, 29.79)
CIE-LCHlch(46.81, 51.39, 144.57°)
OKLaboklab(52.74% -0.1129 0.0717)
OKLCHoklch(52.74% 0.134 147.6)
XYZxyz(9.1154, 15.8766, 6.5863)
Luminance0.1588 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257F3A #7F256A
analogous
#3D7F25 #257F3A #257F67
triadic
#257F3A #3A257F #7F3A25
tetradic
#257F3A #253D7F #7F256A #7F6725
square
#257F3A #253D7F #7F256A #7F6725
split-complementary
#257F3A #67257F #7F253D
monochromatic
#09200F #175024 #257F3A #33AE50 #52CD6E

Accessibility & contrast

On white

5.03
#257F3A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#257F3A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257F3A
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257F3A#FFFFFF#000000##FFFFFF
##257F3A1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807434
Deuteranopia (green-blind)
#766C3F
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #257f3a;
/* rgb */ color: rgb(37, 127, 58);
/* oklch */ color: oklch(52.7% 0.134 147.6);
Tailwind
colors: {
  custom: {
    50: '#6ca572',
    500: '#257f3a',
    950: '#000000',
  },
}
SCSS
$custom: #257f3a;
$custom-light: #6ca572;
$custom-dark: #000000;
JSON
{
  "hex": "#257f3a",
  "rgb": {
    "r": 37,
    "g": 127,
    "b": 58
  },
  "hsl": {
    "h": 134,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52743,
    "c": 0.13373,
    "h": 147.6
  },
  "luminance": 0.15878
}

Semantic roles & 50–950 ramp

primary
#257F3A
secondary
#B14F9A
accent
#4ABCDE
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#080F08
muted
#7A7F7B

Preview Lab

Preview with #257F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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