#257217#257217

#257217 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.6% C 0.144 H 141.0°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#257217
RGBrgb(37, 114, 23)
HSLhsl(111, 66%, 27%)
HSVhsv(111, 80%, 45%)
CMYKcmyk(67.5%, 0%, 79.8%, 55.3%)
CIE-LABlab(41.98, -41.00, 40.55)
CIE-LCHlch(41.98, 57.66, 135.32°)
OKLaboklab(48.64% -0.1121 0.0909)
OKLCHoklch(48.64% 0.144 141)
XYZxyz(6.9346, 12.4891, 2.8556)
Luminance0.1249 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257217 #641772
analogous
#537217 #257217 #177237
triadic
#257217 #172572 #721725
tetradic
#257217 #175372 #641772 #723717
square
#257217 #175372 #641772 #723717
split-complementary
#257217 #371772 #721753
monochromatic
#081905 #143F0D #257217 #36A521 #48D52E

Accessibility & contrast

On white

6.00
#257217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#257217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257217
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257217#FFFFFF#000000##FFFFFF
##2572171.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756703
Deuteranopia (green-blind)
#6C6121
Tritanopia (blue-blind)
#176E61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #257217;
/* rgb */ color: rgb(37, 114, 23);
/* oklch */ color: oklch(48.6% 0.144 141.0);
Tailwind
colors: {
  custom: {
    50: '#6b9b5c',
    500: '#257217',
    950: '#000000',
  },
}
SCSS
$custom: #257217;
$custom-light: #6b9b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#257217",
  "rgb": {
    "r": 37,
    "g": 114,
    "b": 23
  },
  "hsl": {
    "h": 110.769,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48636,
    "c": 0.14435,
    "h": 141
  },
  "luminance": 0.1249
}

Semantic roles & 50–950 ramp

primary
#257217
secondary
#973DA8
accent
#3EE9CF
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #257217

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

Preview Lab → · Contrast checker → · Palette generator →

#257217 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva