#257D31#257D31

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

Color values

HEX#257D31
RGBrgb(37, 125, 49)
HSLhsl(128, 54%, 32%)
HSVhsv(128, 70%, 49%)
CMYKcmyk(70.4%, 0%, 60.8%, 51%)
CIE-LABlab(46.02, -42.41, 33.45)
CIE-LCHlch(46.02, 54.01, 141.74°)
OKLaboklab(52.05% -0.1146 0.0791)
OKLCHoklch(52.05% 0.139 145.4)
XYZxyz(8.6504, 15.2814, 5.3989)
Luminance0.1528 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257D31 #7D2571
analogous
#457D25 #257D31 #257D5D
triadic
#257D31 #31257D #7D3125
tetradic
#257D31 #25457D #7D2571 #7D5D25
square
#257D31 #25457D #7D2571 #7D5D25
split-complementary
#257D31 #5D257D #7D2545
monochromatic
#091F0C #174E1E #257D31 #33AC44 #51CB62

Accessibility & contrast

On white

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

On black

4.06
#257D31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##257D31#FFFFFF#000000##FFFFFF
##257D311.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7129
Deuteranopia (green-blind)
#756A37
Tritanopia (blue-blind)
#077A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #257d31;
/* rgb */ color: rgb(37, 125, 49);
/* oklch */ color: oklch(52.0% 0.139 145.4);
Tailwind
colors: {
  custom: {
    50: '#6ca36c',
    500: '#257d31',
    950: '#000000',
  },
}
SCSS
$custom: #257d31;
$custom-light: #6ca36c;
$custom-dark: #000000;
JSON
{
  "hex": "#257d31",
  "rgb": {
    "r": 37,
    "g": 125,
    "b": 49
  },
  "hsl": {
    "h": 128.182,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52049,
    "c": 0.13922,
    "h": 145.4
  },
  "luminance": 0.15282
}

Semantic roles & 50–950 ramp

primary
#257D31
secondary
#AF4FA2
accent
#4ACADE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #257D31

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

Preview Lab → · Contrast checker → · Palette generator →

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