#257A1A#257A1A

#257A1A is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.0% C 0.152 H 141.5°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#257A1A
RGBrgb(37, 122, 26)
HSLhsl(113, 65%, 29%)
HSVhsv(113, 79%, 48%)
CMYKcmyk(69.7%, 0%, 78.7%, 52.2%)
CIE-LABlab(44.78, -43.71, 42.21)
CIE-LCHlch(44.78, 60.76, 136.00°)
OKLaboklab(50.96% -0.1193 0.0948)
OKLCHoklch(50.96% 0.152 141.5)
XYZxyz(7.9085, 14.3861, 3.3371)
Luminance0.1439 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257A1A #6F1A7A
analogous
#557A1A #257A1A #1A7A3F
triadic
#257A1A #1A257A #7A1A25
tetradic
#257A1A #1A557A #6F1A7A #7A3F1A
square
#257A1A #1A557A #6F1A7A #7A3F1A
split-complementary
#257A1A #3F1A7A #7A1A55
monochromatic
#081905 #16480F #257A1A #34AC25 #4BD539

Accessibility & contrast

On white

5.42
#257A1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#257A1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257A1A
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257A1A#FFFFFF#000000##FFFFFF
##257A1A1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E05
Deuteranopia (green-blind)
#736725
Tritanopia (blue-blind)
#137668
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #257a1a;
/* rgb */ color: rgb(37, 122, 26);
/* oklch */ color: oklch(51.0% 0.152 141.5);
Tailwind
colors: {
  custom: {
    50: '#6da15e',
    500: '#257a1a',
    950: '#000000',
  },
}
SCSS
$custom: #257a1a;
$custom-light: #6da15e;
$custom-dark: #000000;
JSON
{
  "hex": "#257a1a",
  "rgb": {
    "r": 37,
    "g": 122,
    "b": 26
  },
  "hsl": {
    "h": 113.125,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50961,
    "c": 0.15236,
    "h": 141.5
  },
  "luminance": 0.14387
}

Semantic roles & 50–950 ramp

primary
#257A1A
secondary
#A241AE
accent
#40E8D5
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #257A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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