#257A1B#257A1B

#257A1B is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.0% C 0.152 H 141.6°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#257A1B
RGBrgb(37, 122, 27)
HSLhsl(114, 64%, 29%)
HSVhsv(114, 78%, 48%)
CMYKcmyk(69.7%, 0%, 77.9%, 52.2%)
CIE-LABlab(44.79, -43.63, 41.85)
CIE-LCHlch(44.79, 60.45, 136.20°)
OKLaboklab(50.97% -0.119 0.0942)
OKLCHoklch(50.97% 0.152 141.6)
XYZxyz(7.9199, 14.3907, 3.3970)
Luminance0.1439 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257A1B #701B7A
analogous
#557A1B #257A1B #1B7A41
triadic
#257A1B #1B257A #7A1B25
tetradic
#257A1B #1B557A #701B7A #7A411B
square
#257A1B #1B557A #701B7A #7A411B
split-complementary
#257A1B #411B7A #7A1B55
monochromatic
#081906 #164810 #257A1B #34AC26 #4CD43C

Accessibility & contrast

On white

5.41
#257A1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#257A1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257A1B
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257A1B#FFFFFF#000000##FFFFFF
##257A1B1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E07
Deuteranopia (green-blind)
#736725
Tritanopia (blue-blind)
#137668
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #257a1b;
/* rgb */ color: rgb(37, 122, 27);
/* oklch */ color: oklch(51.0% 0.152 141.6);
Tailwind
colors: {
  custom: {
    50: '#6da15f',
    500: '#257a1b',
    950: '#000000',
  },
}
SCSS
$custom: #257a1b;
$custom-light: #6da15f;
$custom-dark: #000000;
JSON
{
  "hex": "#257a1b",
  "rgb": {
    "r": 37,
    "g": 122,
    "b": 27
  },
  "hsl": {
    "h": 113.684,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50968,
    "c": 0.15178,
    "h": 141.6
  },
  "luminance": 0.14392
}

Semantic roles & 50–950 ramp

primary
#257A1B
secondary
#A343AE
accent
#41E7D5
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #257A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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