#257D17#257D17

#257D17 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.158 H 141.3°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#257D17
RGBrgb(37, 125, 23)
HSLhsl(112, 69%, 29%)
HSVhsv(112, 82%, 49%)
CMYKcmyk(70.4%, 0%, 81.6%, 51%)
CIE-LABlab(45.80, -44.99, 44.23)
CIE-LCHlch(45.80, 63.09, 135.49°)
OKLaboklab(51.8% -0.1229 0.0986)
OKLCHoklch(51.8% 0.158 141.3)
XYZxyz(8.2508, 15.1215, 3.2944)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257D17 #6F177D
analogous
#587D17 #257D17 #177D3C
triadic
#257D17 #17257D #7D1725
tetradic
#257D17 #17587D #6F177D #7D3C17
square
#257D17 #17587D #6F177D #7D3C17
split-complementary
#257D17 #3C177D #7D1758
monochromatic
#081A05 #16490D #257D17 #34B121 #4BDA35

Accessibility & contrast

On white

5.22
#257D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#257D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257D17
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257D17#FFFFFF#000000##FFFFFF
##257D171.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#766A23
Tritanopia (blue-blind)
#12796A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #257d17;
/* rgb */ color: rgb(37, 125, 23);
/* oklch */ color: oklch(51.8% 0.158 141.3);
Tailwind
colors: {
  custom: {
    50: '#6ea45d',
    500: '#257d17',
    950: '#000000',
  },
}
SCSS
$custom: #257d17;
$custom-light: #6ea45d;
$custom-dark: #000000;
JSON
{
  "hex": "#257d17",
  "rgb": {
    "r": 37,
    "g": 125,
    "b": 23
  },
  "hsl": {
    "h": 111.765,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.518,
    "c": 0.15756,
    "h": 141.3
  },
  "luminance": 0.15122
}

Semantic roles & 50–950 ramp

primary
#257D17
secondary
#A23EB2
accent
#3CECD4
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #257D17

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

Preview Lab → · Contrast checker → · Palette generator →

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