#257D21#257D21

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

Color values

HEX#257D21
RGBrgb(37, 125, 33)
HSLhsl(117, 58%, 31%)
HSVhsv(117, 74%, 49%)
CMYKcmyk(70.4%, 0%, 73.6%, 51%)
CIE-LABlab(45.87, -44.21, 40.59)
CIE-LCHlch(45.87, 60.02, 137.44°)
OKLaboklab(51.88% -0.1202 0.0924)
OKLCHoklch(51.88% 0.152 142.5)
XYZxyz(8.3706, 15.1695, 3.9254)
Luminance0.1517 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257D21 #79217D
analogous
#537D21 #257D21 #217D4B
triadic
#257D21 #21257D #7D2125
tetradic
#257D21 #21537D #79217D #7D4B21
square
#257D21 #21537D #79217D #7D4B21
split-complementary
#257D21 #4B217D #7D2153
monochromatic
#081C07 #174D14 #257D21 #33AD2E #4FCF49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##257D21#FFFFFF#000000##FFFFFF
##257D211.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)
#807112
Deuteranopia (green-blind)
#766A2A
Tritanopia (blue-blind)
#0F796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #257d21;
/* rgb */ color: rgb(37, 125, 33);
/* oklch */ color: oklch(51.9% 0.152 142.5);
Tailwind
colors: {
  custom: {
    50: '#6da462',
    500: '#257d21',
    950: '#000000',
  },
}
SCSS
$custom: #257d21;
$custom-light: #6da462;
$custom-dark: #000000;
JSON
{
  "hex": "#257d21",
  "rgb": {
    "r": 37,
    "g": 125,
    "b": 33
  },
  "hsl": {
    "h": 117.391,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51875,
    "c": 0.15167,
    "h": 142.5
  },
  "luminance": 0.1517
}

Semantic roles & 50–950 ramp

primary
#257D21
secondary
#AB4AB0
accent
#46E1DB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #257D21

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

Preview Lab → · Contrast checker → · Palette generator →

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