#257F2C#257F2C

#257F2C is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.146 H 144.3°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#257F2C
RGBrgb(37, 127, 44)
HSLhsl(125, 55%, 32%)
HSVhsv(125, 71%, 50%)
CMYKcmyk(70.9%, 0%, 65.4%, 50.2%)
CIE-LABlab(46.65, -43.79, 36.59)
CIE-LCHlch(46.65, 57.06, 140.12°)
OKLaboklab(52.55% -0.1185 0.0853)
OKLCHoklch(52.55% 0.146 144.3)
XYZxyz(8.8064, 15.7530, 4.9589)
Luminance0.1575 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257F2C #7F2578
analogous
#4B7F25 #257F2C #257F59
triadic
#257F2C #2C257F #7F2C25
tetradic
#257F2C #254B7F #7F2578 #7F5925
square
#257F2C #254B7F #7F2578 #7F5925
split-complementary
#257F2C #59257F #7F254B
monochromatic
#09200B #17501C #257F2C #33AE3C #52CD5B

Accessibility & contrast

On white

5.06
#257F2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#257F2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257F2C
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257F2C#FFFFFF#000000##FFFFFF
##257F2C1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817322
Deuteranopia (green-blind)
#776C33
Tritanopia (blue-blind)
#087C6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #257f2c;
/* rgb */ color: rgb(37, 127, 44);
/* oklch */ color: oklch(52.6% 0.146 144.3);
Tailwind
colors: {
  custom: {
    50: '#6da569',
    500: '#257f2c',
    950: '#000000',
  },
}
SCSS
$custom: #257f2c;
$custom-light: #6da569;
$custom-dark: #000000;
JSON
{
  "hex": "#257f2c",
  "rgb": {
    "r": 37,
    "g": 127,
    "b": 44
  },
  "hsl": {
    "h": 124.667,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52555,
    "c": 0.14605,
    "h": 144.3
  },
  "luminance": 0.15754
}

Semantic roles & 50–950 ramp

primary
#257F2C
secondary
#B14FA9
accent
#4AD3DE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #257F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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