#257A2A#257A2A

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

Color values

HEX#257A2A
RGBrgb(37, 122, 42)
HSLhsl(124, 53%, 31%)
HSVhsv(124, 70%, 48%)
CMYKcmyk(69.7%, 0%, 65.6%, 52.2%)
CIE-LABlab(44.91, -42.16, 35.59)
CIE-LCHlch(44.91, 55.17, 139.83°)
OKLaboklab(51.11% -0.1142 0.083)
OKLCHoklch(51.11% 0.141 144)
XYZxyz(8.1399, 14.4787, 4.5557)
Luminance0.1448 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257A2A #7A2575
analogous
#4A7A25 #257A2A #257A54
triadic
#257A2A #2A257A #7A2A25
tetradic
#257A2A #254A7A #7A2575 #7A5425
square
#257A2A #254A7A #7A2575 #7A5425
split-complementary
#257A2A #54257A #7A254A
monochromatic
#091C0A #174B1A #257A2A #33A93A #50CA57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##257A2A#FFFFFF#000000##FFFFFF
##257A2A1.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)
#7C6F21
Deuteranopia (green-blind)
#726831
Tritanopia (blue-blind)
#0D7769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #257a2a;
/* rgb */ color: rgb(37, 122, 42);
/* oklch */ color: oklch(51.1% 0.141 144.0);
Tailwind
colors: {
  custom: {
    50: '#6ca167',
    500: '#257a2a',
    950: '#000000',
  },
}
SCSS
$custom: #257a2a;
$custom-light: #6ca167;
$custom-dark: #000000;
JSON
{
  "hex": "#257a2a",
  "rgb": {
    "r": 37,
    "g": 122,
    "b": 42
  },
  "hsl": {
    "h": 123.529,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51111,
    "c": 0.14117,
    "h": 144
  },
  "luminance": 0.1448
}

Semantic roles & 50–950 ramp

primary
#257A2A
secondary
#AC4EA7
accent
#4BD4DD
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #257A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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