#257C2F#257C2F

#257C2F is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.7% C 0.140 H 145.0°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#257C2F
RGBrgb(37, 124, 47)
HSLhsl(127, 54%, 32%)
HSVhsv(127, 70%, 49%)
CMYKcmyk(70.2%, 0%, 62.1%, 51.4%)
CIE-LABlab(45.65, -42.29, 34.02)
CIE-LCHlch(45.65, 54.28, 141.19°)
OKLaboklab(51.74% -0.1144 0.0801)
OKLCHoklch(51.74% 0.14 145)
XYZxyz(8.4831, 15.0130, 5.1395)
Luminance0.1501 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257C2F #7C2572
analogous
#477C25 #257C2F #257C5B
triadic
#257C2F #2F257C #7C2F25
tetradic
#257C2F #25477C #7C2572 #7C5B25
square
#257C2F #25477C #7C2572 #7C5B25
split-complementary
#257C2F #5B257C #7C2547
monochromatic
#091E0B #174D1D #257C2F #33AB41 #50CB5F

Accessibility & contrast

On white

5.25
#257C2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#257C2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257C2F
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257C2F#FFFFFF#000000##FFFFFF
##257C2F1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7027
Deuteranopia (green-blind)
#746935
Tritanopia (blue-blind)
#09796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #257c2f;
/* rgb */ color: rgb(37, 124, 47);
/* oklch */ color: oklch(51.7% 0.140 145.0);
Tailwind
colors: {
  custom: {
    50: '#6ca36a',
    500: '#257c2f',
    950: '#000000',
  },
}
SCSS
$custom: #257c2f;
$custom-light: #6ca36a;
$custom-dark: #000000;
JSON
{
  "hex": "#257c2f",
  "rgb": {
    "r": 37,
    "g": 124,
    "b": 47
  },
  "hsl": {
    "h": 126.897,
    "s": 54.037,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5174,
    "c": 0.13962,
    "h": 145
  },
  "luminance": 0.15014
}

Semantic roles & 50–950 ramp

primary
#257C2F
secondary
#AE4FA3
accent
#4ACDDD
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #257C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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