#257A1C#257A1C

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

Color values

HEX#257A1C
RGBrgb(37, 122, 28)
HSLhsl(114, 63%, 29%)
HSVhsv(114, 77%, 48%)
CMYKcmyk(69.7%, 0%, 77%, 52.2%)
CIE-LABlab(44.79, -43.55, 41.48)
CIE-LCHlch(44.79, 60.14, 136.40°)
OKLaboklab(50.98% -0.1187 0.0936)
OKLCHoklch(50.98% 0.151 141.8)
XYZxyz(7.9317, 14.3954, 3.4590)
Luminance0.1440 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257A1C #711C7A
analogous
#547A1C #257A1C #1C7A42
triadic
#257A1C #1C257A #7A1C25
tetradic
#257A1C #1C547A #711C7A #7A421C
square
#257A1C #1C547A #711C7A #7A421C
split-complementary
#257A1C #421C7A #7A1C54
monochromatic
#081906 #164811 #257A1C #34AC27 #4CD33E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##257A1C#FFFFFF#000000##FFFFFF
##257A1C1.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)
#7D6E09
Deuteranopia (green-blind)
#736726
Tritanopia (blue-blind)
#127668
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #257a1c;
/* rgb */ color: rgb(37, 122, 28);
/* oklch */ color: oklch(51.0% 0.151 141.8);
Tailwind
colors: {
  custom: {
    50: '#6da15f',
    500: '#257a1c',
    950: '#000000',
  },
}
SCSS
$custom: #257a1c;
$custom-light: #6da15f;
$custom-dark: #000000;
JSON
{
  "hex": "#257a1c",
  "rgb": {
    "r": 37,
    "g": 122,
    "b": 28
  },
  "hsl": {
    "h": 114.255,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50976,
    "c": 0.15118,
    "h": 141.8
  },
  "luminance": 0.14396
}

Semantic roles & 50–950 ramp

primary
#257A1C
secondary
#A444AE
accent
#42E6D6
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #257A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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