#257D20#257D20

#257D20 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.9% C 0.152 H 142.3°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#257D20
RGBrgb(37, 125, 32)
HSLhsl(117, 59%, 31%)
HSVhsv(117, 74%, 49%)
CMYKcmyk(70.4%, 0%, 74.4%, 51%)
CIE-LABlab(45.86, -44.30, 40.99)
CIE-LCHlch(45.86, 60.35, 137.22°)
OKLaboklab(51.87% -0.1205 0.0931)
OKLCHoklch(51.87% 0.152 142.3)
XYZxyz(8.3568, 15.1639, 3.8527)
Luminance0.1517 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257D20 #78207D
analogous
#537D20 #257D20 #207D49
triadic
#257D20 #20257D #7D2025
tetradic
#257D20 #20537D #78207D #7D4920
square
#257D20 #20537D #78207D #7D4920
split-complementary
#257D20 #49207D #7D2053
monochromatic
#081C07 #174C14 #257D20 #33AE2C #4FD047

Accessibility & contrast

On white

5.21
#257D20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#257D20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257D20
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257D20#FFFFFF#000000##FFFFFF
##257D201.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807110
Deuteranopia (green-blind)
#766A29
Tritanopia (blue-blind)
#0F796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #257d20;
/* rgb */ color: rgb(37, 125, 32);
/* oklch */ color: oklch(51.9% 0.152 142.3);
Tailwind
colors: {
  custom: {
    50: '#6da462',
    500: '#257d20',
    950: '#000000',
  },
}
SCSS
$custom: #257d20;
$custom-light: #6da462;
$custom-dark: #000000;
JSON
{
  "hex": "#257d20",
  "rgb": {
    "r": 37,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 116.774,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51866,
    "c": 0.15233,
    "h": 142.3
  },
  "luminance": 0.15165
}

Semantic roles & 50–950 ramp

primary
#257D20
secondary
#AA49B0
accent
#45E2DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #257D20

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

Preview Lab → · Contrast checker → · Palette generator →

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