#257A4E#257A4E

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

Color values

HEX#257A4E
RGBrgb(37, 122, 78)
HSLhsl(149, 53%, 31%)
HSVhsv(149, 70%, 48%)
CMYKcmyk(69.7%, 0%, 36.1%, 52.2%)
CIE-LABlab(45.44, -36.13, 16.94)
CIE-LCHlch(45.44, 39.91, 154.89°)
OKLaboklab(51.72% -0.098 0.0426)
OKLCHoklch(51.72% 0.107 156.5)
XYZxyz(9.0968, 14.8615, 9.5954)
Luminance0.1486 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257A4E #7A2551
analogous
#267A25 #257A4E #257A78
triadic
#257A4E #4E257A #7A4E25
tetradic
#257A4E #25267A #7A2551 #7A7825
square
#257A4E #25267A #7A2551 #7A7825
split-complementary
#257A4E #78257A #7A2526
monochromatic
#091C12 #174B30 #257A4E #33A96C #50CA8B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##257A4E#FFFFFF#000000##FFFFFF
##257A4E1.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)
#79704B
Deuteranopia (green-blind)
#6E6851
Tritanopia (blue-blind)
#00796F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #257a4e;
/* rgb */ color: rgb(37, 122, 78);
/* oklch */ color: oklch(51.7% 0.107 156.5);
Tailwind
colors: {
  custom: {
    50: '#6ba180',
    500: '#257a4e',
    950: '#000000',
  },
}
SCSS
$custom: #257a4e;
$custom-light: #6ba180;
$custom-dark: #000000;
JSON
{
  "hex": "#257a4e",
  "rgb": {
    "r": 37,
    "g": 122,
    "b": 78
  },
  "hsl": {
    "h": 148.941,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51723,
    "c": 0.10684,
    "h": 156.5
  },
  "luminance": 0.14862
}

Semantic roles & 50–950 ramp

primary
#257A4E
secondary
#AC4E7F
accent
#4B96DD
background
#F6FAF7
surface
#ECF3EE
border
#C7CDC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #257A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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