#257A3A#257A3A

#257A3A is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.3% C 0.127 H 148.1°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#257A3A
RGBrgb(37, 122, 58)
HSLhsl(135, 53%, 31%)
HSVhsv(135, 70%, 48%)
CMYKcmyk(69.7%, 0%, 52.5%, 52.2%)
CIE-LABlab(45.11, -39.91, 27.69)
CIE-LCHlch(45.11, 48.58, 145.25°)
OKLaboklab(51.33% -0.1076 0.067)
OKLCHoklch(51.33% 0.127 148.1)
XYZxyz(8.4856, 14.6170, 6.3763)
Luminance0.1462 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257A3A #7A2565
analogous
#3A7A25 #257A3A #257A64
triadic
#257A3A #3A257A #7A3A25
tetradic
#257A3A #253A7A #7A2565 #7A6425
square
#257A3A #253A7A #7A2565 #7A6425
split-complementary
#257A3A #64257A #7A253A
monochromatic
#091C0D #174B24 #257A3A #33A950 #50CA6E

Accessibility & contrast

On white

5.35
#257A3A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#257A3A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257A3A
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257A3A#FFFFFF#000000##FFFFFF
##257A3A1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6F35
Deuteranopia (green-blind)
#71683F
Tritanopia (blue-blind)
#02776B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #257a3a;
/* rgb */ color: rgb(37, 122, 58);
/* oklch */ color: oklch(51.3% 0.127 148.1);
Tailwind
colors: {
  custom: {
    50: '#6ba171',
    500: '#257a3a',
    950: '#000000',
  },
}
SCSS
$custom: #257a3a;
$custom-light: #6ba171;
$custom-dark: #000000;
JSON
{
  "hex": "#257a3a",
  "rgb": {
    "r": 37,
    "g": 122,
    "b": 58
  },
  "hsl": {
    "h": 134.824,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51333,
    "c": 0.12677,
    "h": 148.1
  },
  "luminance": 0.14618
}

Semantic roles & 50–950 ramp

primary
#257A3A
secondary
#AC4E95
accent
#4BB9DD
background
#F6FAF6
surface
#ECF3EC
border
#C7CDC7
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #257A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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