#257D42#257D42

#257D42 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.3% C 0.123 H 150.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#257D42
RGBrgb(37, 125, 66)
HSLhsl(140, 54%, 32%)
HSVhsv(140, 70%, 49%)
CMYKcmyk(70.4%, 0%, 47.2%, 51%)
CIE-LABlab(46.25, -39.75, 24.77)
CIE-LCHlch(46.25, 46.84, 148.07°)
OKLaboklab(52.32% -0.1071 0.0608)
OKLCHoklch(52.32% 0.123 150.4)
XYZxyz(9.0792, 15.4529, 7.6574)
Luminance0.1545 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257D42 #7D2560
analogous
#347D25 #257D42 #257D6E
triadic
#257D42 #42257D #7D4225
tetradic
#257D42 #25347D #7D2560 #7D6E25
square
#257D42 #25347D #7D2560 #7D6E25
split-complementary
#257D42 #6E257D #7D2534
monochromatic
#091F10 #174E29 #257D42 #33AC5B #51CB79

Accessibility & contrast

On white

5.13
#257D42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#257D42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257D42
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257D42#FFFFFF#000000##FFFFFF
##257D421.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E723D
Deuteranopia (green-blind)
#736B46
Tritanopia (blue-blind)
#007B6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #257d42;
/* rgb */ color: rgb(37, 125, 66);
/* oklch */ color: oklch(52.3% 0.123 150.4);
Tailwind
colors: {
  custom: {
    50: '#6ca377',
    500: '#257d42',
    950: '#000000',
  },
}
SCSS
$custom: #257d42;
$custom-light: #6ca377;
$custom-dark: #000000;
JSON
{
  "hex": "#257d42",
  "rgb": {
    "r": 37,
    "g": 125,
    "b": 66
  },
  "hsl": {
    "h": 139.773,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52316,
    "c": 0.12316,
    "h": 150.4
  },
  "luminance": 0.15454
}

Semantic roles & 50–950 ramp

primary
#257D42
secondary
#AF4F8F
accent
#4AADDE
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #257D42

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

Preview Lab → · Contrast checker → · Palette generator →

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