#257A2F#257A2F

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

Color values

HEX#257A2F
RGBrgb(37, 122, 47)
HSLhsl(127, 53%, 31%)
HSVhsv(127, 70%, 48%)
CMYKcmyk(69.7%, 0%, 61.5%, 52.2%)
CIE-LABlab(44.97, -41.53, 33.22)
CIE-LCHlch(44.97, 53.19, 141.34°)
OKLaboklab(51.17% -0.1123 0.0784)
OKLCHoklch(51.17% 0.137 145.1)
XYZxyz(8.2350, 14.5168, 5.0568)
Luminance0.1452 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257A2F #7A2570
analogous
#457A25 #257A2F #257A59
triadic
#257A2F #2F257A #7A2F25
tetradic
#257A2F #25457A #7A2570 #7A5925
square
#257A2F #25457A #7A2570 #7A5925
split-complementary
#257A2F #59257A #7A2545
monochromatic
#091C0B #174B1D #257A2F #33A941 #50CA5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##257A2F#FFFFFF#000000##FFFFFF
##257A2F1.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)
#7C6F27
Deuteranopia (green-blind)
#726835
Tritanopia (blue-blind)
#0B776A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #257a2f;
/* rgb */ color: rgb(37, 122, 47);
/* oklch */ color: oklch(51.2% 0.137 145.1);
Tailwind
colors: {
  custom: {
    50: '#6ca16a',
    500: '#257a2f',
    950: '#000000',
  },
}
SCSS
$custom: #257a2f;
$custom-light: #6ca16a;
$custom-dark: #000000;
JSON
{
  "hex": "#257a2f",
  "rgb": {
    "r": 37,
    "g": 122,
    "b": 47
  },
  "hsl": {
    "h": 127.059,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51172,
    "c": 0.13695,
    "h": 145.1
  },
  "luminance": 0.14518
}

Semantic roles & 50–950 ramp

primary
#257A2F
secondary
#AC4EA1
accent
#4BCCDD
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #257A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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