#257F42#257F42

#257F42 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.9% C 0.126 H 150.1°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#257F42
RGBrgb(37, 127, 66)
HSLhsl(139, 55%, 32%)
HSVhsv(139, 71%, 50%)
CMYKcmyk(70.9%, 0%, 48%, 50.2%)
CIE-LABlab(46.93, -40.55, 25.64)
CIE-LCHlch(46.93, 47.98, 147.70°)
OKLaboklab(52.88% -0.1092 0.0628)
OKLCHoklch(52.88% 0.126 150.1)
XYZxyz(9.3349, 15.9644, 7.7427)
Luminance0.1596 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257F42 #7F2562
analogous
#357F25 #257F42 #257F6F
triadic
#257F42 #42257F #7F4225
tetradic
#257F42 #25357F #7F2562 #7F6F25
square
#257F42 #25357F #7F2562 #7F6F25
split-complementary
#257F42 #6F257F #7F2535
monochromatic
#092011 #175029 #257F42 #33AE5B #52CD79

Accessibility & contrast

On white

5.01
#257F42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#257F42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257F42
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257F42#FFFFFF#000000##FFFFFF
##257F421.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80743D
Deuteranopia (green-blind)
#756C46
Tritanopia (blue-blind)
#007D70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #257f42;
/* rgb */ color: rgb(37, 127, 66);
/* oklch */ color: oklch(52.9% 0.126 150.1);
Tailwind
colors: {
  custom: {
    50: '#6ca577',
    500: '#257f42',
    950: '#000000',
  },
}
SCSS
$custom: #257f42;
$custom-light: #6ca577;
$custom-dark: #000000;
JSON
{
  "hex": "#257f42",
  "rgb": {
    "r": 37,
    "g": 127,
    "b": 66
  },
  "hsl": {
    "h": 139.333,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52876,
    "c": 0.12599,
    "h": 150.1
  },
  "luminance": 0.15965
}

Semantic roles & 50–950 ramp

primary
#257F42
secondary
#B14F91
accent
#4AAEDE
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #257F42

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

Preview Lab → · Contrast checker → · Palette generator →

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