#257F2E#257F2E

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

Color values

HEX#257F2E
RGBrgb(37, 127, 46)
HSLhsl(126, 55%, 32%)
HSVhsv(126, 71%, 50%)
CMYKcmyk(70.9%, 0%, 63.8%, 50.2%)
CIE-LABlab(46.67, -43.55, 35.67)
CIE-LCHlch(46.67, 56.29, 140.68°)
OKLaboklab(52.58% -0.1178 0.0836)
OKLCHoklch(52.58% 0.144 144.7)
XYZxyz(8.8449, 15.7684, 5.1617)
Luminance0.1577 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257F2E #7F2576
analogous
#497F25 #257F2E #257F5B
triadic
#257F2E #2E257F #7F2E25
tetradic
#257F2E #25497F #7F2576 #7F5B25
square
#257F2E #25497F #7F2576 #7F5B25
split-complementary
#257F2E #5B257F #7F2549
monochromatic
#09200C #17501D #257F2E #33AE3F #52CD5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##257F2E#FFFFFF#000000##FFFFFF
##257F2E1.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)
#817325
Deuteranopia (green-blind)
#776C35
Tritanopia (blue-blind)
#077C6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #257f2e;
/* rgb */ color: rgb(37, 127, 46);
/* oklch */ color: oklch(52.6% 0.144 144.7);
Tailwind
colors: {
  custom: {
    50: '#6da56a',
    500: '#257f2e',
    950: '#000000',
  },
}
SCSS
$custom: #257f2e;
$custom-light: #6da56a;
$custom-dark: #000000;
JSON
{
  "hex": "#257f2e",
  "rgb": {
    "r": 37,
    "g": 127,
    "b": 46
  },
  "hsl": {
    "h": 126,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52578,
    "c": 0.14441,
    "h": 144.7
  },
  "luminance": 0.15769
}

Semantic roles & 50–950 ramp

primary
#257F2E
secondary
#B14FA7
accent
#4ACFDE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #257F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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