#257A42#257A42

#257A42 is a mid, moderate green. Relative luminance 0.147; OKLCH L 51.5% C 0.119 H 150.9°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#257A42
RGBrgb(37, 122, 66)
HSLhsl(140, 53%, 31%)
HSVhsv(140, 70%, 48%)
CMYKcmyk(69.7%, 0%, 45.9%, 52.2%)
CIE-LABlab(45.23, -38.53, 23.46)
CIE-LCHlch(45.23, 45.11, 148.66°)
OKLaboklab(51.47% -0.1039 0.0578)
OKLCHoklch(51.47% 0.119 150.9)
XYZxyz(8.7052, 14.7048, 7.5327)
Luminance0.1471 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257A42 #7A255D
analogous
#327A25 #257A42 #257A6C
triadic
#257A42 #42257A #7A4225
tetradic
#257A42 #25327A #7A255D #7A6C25
square
#257A42 #25327A #7A255D #7A6C25
split-complementary
#257A42 #6C257A #7A2532
monochromatic
#091C0F #174B29 #257A42 #33A95B #50CA79

Accessibility & contrast

On white

5.33
#257A42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#257A42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257A42
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257A42#FFFFFF#000000##FFFFFF
##257A421.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B703E
Deuteranopia (green-blind)
#706846
Tritanopia (blue-blind)
#00786C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #257a42;
/* rgb */ color: rgb(37, 122, 66);
/* oklch */ color: oklch(51.5% 0.119 150.9);
Tailwind
colors: {
  custom: {
    50: '#6ba177',
    500: '#257a42',
    950: '#000000',
  },
}
SCSS
$custom: #257a42;
$custom-light: #6ba177;
$custom-dark: #000000;
JSON
{
  "hex": "#257a42",
  "rgb": {
    "r": 37,
    "g": 122,
    "b": 66
  },
  "hsl": {
    "h": 140.471,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51473,
    "c": 0.11887,
    "h": 150.9
  },
  "luminance": 0.14706
}

Semantic roles & 50–950 ramp

primary
#257A42
secondary
#AC4E8C
accent
#4BABDD
background
#F6FAF7
surface
#ECF3ED
border
#C7CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #257A42

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

Preview Lab → · Contrast checker → · Palette generator →

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