#257D2F#257D2F

#257D2F is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.141 H 144.9°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#257D2F
RGBrgb(37, 125, 47)
HSLhsl(127, 54%, 32%)
HSVhsv(127, 70%, 49%)
CMYKcmyk(70.4%, 0%, 62.4%, 51%)
CIE-LABlab(45.99, -42.67, 34.41)
CIE-LCHlch(45.99, 54.82, 141.12°)
OKLaboklab(52.02% -0.1154 0.0809)
OKLCHoklch(52.02% 0.141 144.9)
XYZxyz(8.6091, 15.2649, 5.1815)
Luminance0.1527 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257D2F #7D2573
analogous
#477D25 #257D2F #257D5B
triadic
#257D2F #2F257D #7D2F25
tetradic
#257D2F #25477D #7D2573 #7D5B25
square
#257D2F #25477D #7D2573 #7D5B25
split-complementary
#257D2F #5B257D #7D2547
monochromatic
#091F0B #174E1D #257D2F #33AC41 #51CB5F

Accessibility & contrast

On white

5.18
#257D2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#257D2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257D2F
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257D2F#FFFFFF#000000##FFFFFF
##257D2F1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7127
Deuteranopia (green-blind)
#756A35
Tritanopia (blue-blind)
#087A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #257d2f;
/* rgb */ color: rgb(37, 125, 47);
/* oklch */ color: oklch(52.0% 0.141 144.9);
Tailwind
colors: {
  custom: {
    50: '#6ca36a',
    500: '#257d2f',
    950: '#000000',
  },
}
SCSS
$custom: #257d2f;
$custom-light: #6ca36a;
$custom-dark: #000000;
JSON
{
  "hex": "#257d2f",
  "rgb": {
    "r": 37,
    "g": 125,
    "b": 47
  },
  "hsl": {
    "h": 126.818,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52024,
    "c": 0.14094,
    "h": 144.9
  },
  "luminance": 0.15266
}

Semantic roles & 50–950 ramp

primary
#257D2F
secondary
#AF4FA4
accent
#4ACDDE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #257D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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