#257F2F#257F2F

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

Color values

HEX#257F2F
RGBrgb(37, 127, 47)
HSLhsl(127, 55%, 32%)
HSVhsv(127, 71%, 50%)
CMYKcmyk(70.9%, 0%, 63%, 50.2%)
CIE-LABlab(46.68, -43.42, 35.20)
CIE-LCHlch(46.68, 55.89, 140.97°)
OKLaboklab(52.59% -0.1174 0.0826)
OKLCHoklch(52.59% 0.144 144.9)
XYZxyz(8.8648, 15.7763, 5.2667)
Luminance0.1578 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257F2F #7F2575
analogous
#487F25 #257F2F #257F5C
triadic
#257F2F #2F257F #7F2F25
tetradic
#257F2F #25487F #7F2575 #7F5C25
square
#257F2F #25487F #7F2575 #7F5C25
split-complementary
#257F2F #5C257F #7F2548
monochromatic
#09200C #17501D #257F2F #33AE41 #52CD5F

Accessibility & contrast

On white

5.05
#257F2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#257F2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257F2F
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257F2F#FFFFFF#000000##FFFFFF
##257F2F1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817326
Deuteranopia (green-blind)
#776C36
Tritanopia (blue-blind)
#067C6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #257f2f;
/* rgb */ color: rgb(37, 127, 47);
/* oklch */ color: oklch(52.6% 0.144 144.9);
Tailwind
colors: {
  custom: {
    50: '#6da56b',
    500: '#257f2f',
    950: '#000000',
  },
}
SCSS
$custom: #257f2f;
$custom-light: #6da56b;
$custom-dark: #000000;
JSON
{
  "hex": "#257f2f",
  "rgb": {
    "r": 37,
    "g": 127,
    "b": 47
  },
  "hsl": {
    "h": 126.667,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52591,
    "c": 0.14358,
    "h": 144.9
  },
  "luminance": 0.15777
}

Semantic roles & 50–950 ramp

primary
#257F2F
secondary
#B14FA6
accent
#4ACEDE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #257F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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