#257A4F#257A4F

#257A4F is a mid, moderate green. Relative luminance 0.149; OKLCH L 51.7% C 0.106 H 157.0°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#257A4F
RGBrgb(37, 122, 79)
HSLhsl(150, 53%, 31%)
HSVhsv(150, 70%, 48%)
CMYKcmyk(69.7%, 0%, 35.2%, 52.2%)
CIE-LABlab(45.46, -35.92, 16.39)
CIE-LCHlch(45.46, 39.48, 155.48°)
OKLaboklab(51.75% -0.0975 0.0413)
OKLCHoklch(51.75% 0.106 157)
XYZxyz(9.1329, 14.8759, 9.7856)
Luminance0.1488 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257A4F #7A2550
analogous
#257A25 #257A4F #257A79
triadic
#257A4F #4F257A #7A4F25
tetradic
#257A4F #25257A #7A2550 #7A7925
square
#257A4F #25257A #7A2550 #7A7925
split-complementary
#257A4F #79257A #7A2525
monochromatic
#091C12 #174B31 #257A4F #33A96D #50CA8C

Accessibility & contrast

On white

5.28
#257A4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#257A4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257A4F
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257A4F#FFFFFF#000000##FFFFFF
##257A4F1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#79704C
Deuteranopia (green-blind)
#6E6852
Tritanopia (blue-blind)
#00796F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #257a4f;
/* rgb */ color: rgb(37, 122, 79);
/* oklch */ color: oklch(51.7% 0.106 157.0);
Tailwind
colors: {
  custom: {
    50: '#6ba180',
    500: '#257a4f',
    950: '#000000',
  },
}
SCSS
$custom: #257a4f;
$custom-light: #6ba180;
$custom-dark: #000000;
JSON
{
  "hex": "#257a4f",
  "rgb": {
    "r": 37,
    "g": 122,
    "b": 79
  },
  "hsl": {
    "h": 149.647,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51746,
    "c": 0.10586,
    "h": 157
  },
  "luminance": 0.14877
}

Semantic roles & 50–950 ramp

primary
#257A4F
secondary
#AC4E7E
accent
#4B95DD
background
#F6FAF7
surface
#ECF3EE
border
#C7CDC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #257A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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