#257A45#257A45

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

Color values

HEX#257A45
RGBrgb(37, 122, 69)
HSLhsl(143, 53%, 31%)
HSVhsv(143, 70%, 48%)
CMYKcmyk(69.7%, 0%, 43.4%, 52.2%)
CIE-LABlab(45.28, -37.97, 21.85)
CIE-LCHlch(45.28, 43.80, 150.08°)
OKLaboklab(51.53% -0.1024 0.0541)
OKLCHoklch(51.53% 0.116 152.2)
XYZxyz(8.7959, 14.7411, 8.0108)
Luminance0.1474 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257A45 #7A255A
analogous
#2F7A25 #257A45 #257A6F
triadic
#257A45 #45257A #7A4525
tetradic
#257A45 #252F7A #7A255A #7A6F25
square
#257A45 #252F7A #7A255A #7A6F25
split-complementary
#257A45 #6F257A #7A252F
monochromatic
#091C10 #174B2A #257A45 #33A960 #50CA7E

Accessibility & contrast

On white

5.32
#257A45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#257A45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257A45
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257A45#FFFFFF#000000##FFFFFF
##257A451.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7041
Deuteranopia (green-blind)
#706849
Tritanopia (blue-blind)
#00786D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #257a45;
/* rgb */ color: rgb(37, 122, 69);
/* oklch */ color: oklch(51.5% 0.116 152.2);
Tailwind
colors: {
  custom: {
    50: '#6ba179',
    500: '#257a45',
    950: '#000000',
  },
}
SCSS
$custom: #257a45;
$custom-light: #6ba179;
$custom-dark: #000000;
JSON
{
  "hex": "#257a45",
  "rgb": {
    "r": 37,
    "g": 122,
    "b": 69
  },
  "hsl": {
    "h": 142.588,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51531,
    "c": 0.11585,
    "h": 152.2
  },
  "luminance": 0.14742
}

Semantic roles & 50–950 ramp

primary
#257A45
secondary
#AC4E89
accent
#4BA6DD
background
#F6FAF7
surface
#ECF3ED
border
#C7CDC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #257A45

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

Preview Lab → · Contrast checker → · Palette generator →

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