#257A2E#257A2E

#257A2E is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.2% C 0.138 H 144.9°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#257A2E
RGBrgb(37, 122, 46)
HSLhsl(126, 53%, 31%)
HSVhsv(126, 70%, 48%)
CMYKcmyk(69.7%, 0%, 62.3%, 52.2%)
CIE-LABlab(44.95, -41.66, 33.70)
CIE-LCHlch(44.95, 53.59, 141.03°)
OKLaboklab(51.16% -0.1127 0.0793)
OKLCHoklch(51.16% 0.138 144.9)
XYZxyz(8.2151, 14.5088, 4.9518)
Luminance0.1451 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257A2E #7A2571
analogous
#467A25 #257A2E #257A58
triadic
#257A2E #2E257A #7A2E25
tetradic
#257A2E #25467A #7A2571 #7A5825
square
#257A2E #25467A #7A2571 #7A5825
split-complementary
#257A2E #58257A #7A2546
monochromatic
#091C0B #174B1C #257A2E #33A940 #50CA5D

Accessibility & contrast

On white

5.38
#257A2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #257A2E
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257A2E#FFFFFF#000000##FFFFFF
##257A2E1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F26
Deuteranopia (green-blind)
#726834
Tritanopia (blue-blind)
#0B776A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #257a2e;
/* rgb */ color: rgb(37, 122, 46);
/* oklch */ color: oklch(51.2% 0.138 144.9);
Tailwind
colors: {
  custom: {
    50: '#6ca169',
    500: '#257a2e',
    950: '#000000',
  },
}
SCSS
$custom: #257a2e;
$custom-light: #6ca169;
$custom-dark: #000000;
JSON
{
  "hex": "#257a2e",
  "rgb": {
    "r": 37,
    "g": 122,
    "b": 46
  },
  "hsl": {
    "h": 126.353,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51159,
    "c": 0.13783,
    "h": 144.9
  },
  "luminance": 0.1451
}

Semantic roles & 50–950 ramp

primary
#257A2E
secondary
#AC4EA2
accent
#4BCDDD
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #257A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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