#257C2A#257C2A

#257C2A is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.7% C 0.144 H 144.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#257C2A
RGBrgb(37, 124, 42)
HSLhsl(123, 54%, 32%)
HSVhsv(123, 70%, 49%)
CMYKcmyk(70.2%, 0%, 66.1%, 51.4%)
CIE-LABlab(45.60, -42.91, 36.36)
CIE-LCHlch(45.60, 56.24, 139.72°)
OKLaboklab(51.68% -0.1162 0.0846)
OKLCHoklch(51.68% 0.144 144)
XYZxyz(8.3880, 14.9749, 4.6384)
Luminance0.1498 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257C2A #7C2577
analogous
#4C7C25 #257C2A #257C56
triadic
#257C2A #2A257C #7C2A25
tetradic
#257C2A #254C7C #7C2577 #7C5625
square
#257C2A #254C7C #7C2577 #7C5625
split-complementary
#257C2A #56257C #7C254C
monochromatic
#091E0A #174D1A #257C2A #33AB3A #50CB58

Accessibility & contrast

On white

5.26
#257C2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#257C2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257C2A
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257C2A#FFFFFF#000000##FFFFFF
##257C2A1.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7020
Deuteranopia (green-blind)
#746931
Tritanopia (blue-blind)
#0C796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #257c2a;
/* rgb */ color: rgb(37, 124, 42);
/* oklch */ color: oklch(51.7% 0.144 144.0);
Tailwind
colors: {
  custom: {
    50: '#6ca367',
    500: '#257c2a',
    950: '#000000',
  },
}
SCSS
$custom: #257c2a;
$custom-light: #6ca367;
$custom-dark: #000000;
JSON
{
  "hex": "#257c2a",
  "rgb": {
    "r": 37,
    "g": 124,
    "b": 42
  },
  "hsl": {
    "h": 123.448,
    "s": 54.037,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5168,
    "c": 0.14377,
    "h": 144
  },
  "luminance": 0.14976
}

Semantic roles & 50–950 ramp

primary
#257C2A
secondary
#AE4FA9
accent
#4AD5DD
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #257C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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