#257A2B#257A2B

#257A2B is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.1% C 0.140 H 144.2°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#257A2B
RGBrgb(37, 122, 43)
HSLhsl(124, 53%, 31%)
HSVhsv(124, 70%, 48%)
CMYKcmyk(69.7%, 0%, 64.8%, 52.2%)
CIE-LABlab(44.92, -42.04, 35.12)
CIE-LCHlch(44.92, 54.78, 140.12°)
OKLaboklab(51.12% -0.1138 0.0821)
OKLCHoklch(51.12% 0.14 144.2)
XYZxyz(8.1580, 14.4859, 4.6512)
Luminance0.1449 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257A2B #7A2574
analogous
#497A25 #257A2B #257A55
triadic
#257A2B #2B257A #7A2B25
tetradic
#257A2B #25497A #7A2574 #7A5525
square
#257A2B #25497A #7A2574 #7A5525
split-complementary
#257A2B #55257A #7A2549
monochromatic
#091C0A #174B1A #257A2B #33A93C #50CA58

Accessibility & contrast

On white

5.39
#257A2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#257A2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257A2B
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257A2B#FFFFFF#000000##FFFFFF
##257A2B1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F22
Deuteranopia (green-blind)
#726832
Tritanopia (blue-blind)
#0D7769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #257a2b;
/* rgb */ color: rgb(37, 122, 43);
/* oklch */ color: oklch(51.1% 0.140 144.2);
Tailwind
colors: {
  custom: {
    50: '#6ca168',
    500: '#257a2b',
    950: '#000000',
  },
}
SCSS
$custom: #257a2b;
$custom-light: #6ca168;
$custom-dark: #000000;
JSON
{
  "hex": "#257a2b",
  "rgb": {
    "r": 37,
    "g": 122,
    "b": 43
  },
  "hsl": {
    "h": 124.235,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51122,
    "c": 0.14035,
    "h": 144.2
  },
  "luminance": 0.14487
}

Semantic roles & 50–950 ramp

primary
#257A2B
secondary
#AC4EA6
accent
#4BD3DD
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #257A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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