#257A4D#257A4D

#257A4D is a mid, moderate green. Relative luminance 0.148; OKLCH L 51.7% C 0.108 H 156.0°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#257A4D
RGBrgb(37, 122, 77)
HSLhsl(148, 53%, 31%)
HSVhsv(148, 70%, 48%)
CMYKcmyk(69.7%, 0%, 36.9%, 52.2%)
CIE-LABlab(45.42, -36.35, 17.49)
CIE-LCHlch(45.42, 40.33, 154.31°)
OKLaboklab(51.7% -0.0985 0.0439)
OKLCHoklch(51.7% 0.108 156)
XYZxyz(9.0612, 14.8472, 9.4080)
Luminance0.1485 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257A4D #7A2552
analogous
#277A25 #257A4D #257A77
triadic
#257A4D #4D257A #7A4D25
tetradic
#257A4D #25277A #7A2552 #7A7725
square
#257A4D #25277A #7A2552 #7A7725
split-complementary
#257A4D #77257A #7A2527
monochromatic
#091C12 #174B2F #257A4D #33A96B #50CA89

Accessibility & contrast

On white

5.29
#257A4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#257A4D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257A4D
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257A4D#FFFFFF#000000##FFFFFF
##257A4D1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#79704A
Deuteranopia (green-blind)
#6E6850
Tritanopia (blue-blind)
#00796E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #257a4d;
/* rgb */ color: rgb(37, 122, 77);
/* oklch */ color: oklch(51.7% 0.108 156.0);
Tailwind
colors: {
  custom: {
    50: '#6ba17f',
    500: '#257a4d',
    950: '#000000',
  },
}
SCSS
$custom: #257a4d;
$custom-light: #6ba17f;
$custom-dark: #000000;
JSON
{
  "hex": "#257a4d",
  "rgb": {
    "r": 37,
    "g": 122,
    "b": 77
  },
  "hsl": {
    "h": 148.235,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.517,
    "c": 0.10783,
    "h": 156
  },
  "luminance": 0.14848
}

Semantic roles & 50–950 ramp

primary
#257A4D
secondary
#AC4E80
accent
#4B98DD
background
#F6FAF7
surface
#ECF3EE
border
#C7CDC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #257A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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