#257C2E#257C2E

#257C2E is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.7% C 0.140 H 144.8°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#257C2E
RGBrgb(37, 124, 46)
HSLhsl(126, 54%, 32%)
HSVhsv(126, 70%, 49%)
CMYKcmyk(70.2%, 0%, 62.9%, 51.4%)
CIE-LABlab(45.64, -42.42, 34.49)
CIE-LCHlch(45.64, 54.68, 140.88°)
OKLaboklab(51.73% -0.1147 0.081)
OKLCHoklch(51.73% 0.14 144.8)
XYZxyz(8.4632, 15.0050, 5.0345)
Luminance0.1501 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257C2E #7C2573
analogous
#487C25 #257C2E #257C5A
triadic
#257C2E #2E257C #7C2E25
tetradic
#257C2E #25487C #7C2573 #7C5A25
square
#257C2E #25487C #7C2573 #7C5A25
split-complementary
#257C2E #5A257C #7C2548
monochromatic
#091E0B #174D1D #257C2E #33AB3F #50CB5D

Accessibility & contrast

On white

5.25
#257C2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#257C2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257C2E
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257C2E#FFFFFF#000000##FFFFFF
##257C2E1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7026
Deuteranopia (green-blind)
#746934
Tritanopia (blue-blind)
#09796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #257c2e;
/* rgb */ color: rgb(37, 124, 46);
/* oklch */ color: oklch(51.7% 0.140 144.8);
Tailwind
colors: {
  custom: {
    50: '#6ca36a',
    500: '#257c2e',
    950: '#000000',
  },
}
SCSS
$custom: #257c2e;
$custom-light: #6ca36a;
$custom-dark: #000000;
JSON
{
  "hex": "#257c2e",
  "rgb": {
    "r": 37,
    "g": 124,
    "b": 46
  },
  "hsl": {
    "h": 126.207,
    "s": 54.037,
    "l": 31.569
  },
  "oklch": {
    "l": 0.51727,
    "c": 0.14048,
    "h": 144.8
  },
  "luminance": 0.15006
}

Semantic roles & 50–950 ramp

primary
#257C2E
secondary
#AE4FA4
accent
#4ACEDD
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #257C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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