#257F2A#257F2A

#257F2A is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.148 H 143.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#257F2A
RGBrgb(37, 127, 42)
HSLhsl(123, 55%, 32%)
HSVhsv(123, 71%, 50%)
CMYKcmyk(70.9%, 0%, 66.9%, 50.2%)
CIE-LABlab(46.63, -44.02, 37.50)
CIE-LCHlch(46.63, 57.82, 139.57°)
OKLaboklab(52.53% -0.1193 0.087)
OKLCHoklch(52.53% 0.148 143.9)
XYZxyz(8.7697, 15.7383, 4.7657)
Luminance0.1574 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257F2A #7F257A
analogous
#4D7F25 #257F2A #257F57
triadic
#257F2A #2A257F #7F2A25
tetradic
#257F2A #254D7F #7F257A #7F5725
square
#257F2A #254D7F #7F257A #7F5725
split-complementary
#257F2A #57257F #7F254D
monochromatic
#09200B #17501A #257F2A #33AE3A #52CD59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##257F2A#FFFFFF#000000##FFFFFF
##257F2A1.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)
#827320
Deuteranopia (green-blind)
#776C32
Tritanopia (blue-blind)
#097B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #257f2a;
/* rgb */ color: rgb(37, 127, 42);
/* oklch */ color: oklch(52.5% 0.148 143.9);
Tailwind
colors: {
  custom: {
    50: '#6da567',
    500: '#257f2a',
    950: '#000000',
  },
}
SCSS
$custom: #257f2a;
$custom-light: #6da567;
$custom-dark: #000000;
JSON
{
  "hex": "#257f2a",
  "rgb": {
    "r": 37,
    "g": 127,
    "b": 42
  },
  "hsl": {
    "h": 123.333,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52532,
    "c": 0.14764,
    "h": 143.9
  },
  "luminance": 0.15739
}

Semantic roles & 50–950 ramp

primary
#257F2A
secondary
#B14FAB
accent
#4AD6DE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #257F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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