#257517#257517

#257517 is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.5% C 0.148 H 141.1°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#257517
RGBrgb(37, 117, 23)
HSLhsl(111, 67%, 27%)
HSVhsv(111, 80%, 46%)
CMYKcmyk(68.4%, 0%, 80.3%, 54.1%)
CIE-LABlab(43.03, -42.11, 41.57)
CIE-LCHlch(43.03, 59.17, 135.37°)
OKLaboklab(49.5% -0.1151 0.093)
OKLCHoklch(49.5% 0.148 141.1)
XYZxyz(7.2785, 13.1770, 2.9703)
Luminance0.1318 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257517 #671775
analogous
#547517 #257517 #177538
triadic
#257517 #172575 #751725
tetradic
#257517 #175475 #671775 #753817
square
#257517 #175475 #671775 #753817
split-complementary
#257517 #381775 #751754
monochromatic
#081A05 #15420D #257517 #35A821 #49D630

Accessibility & contrast

On white

5.78
#257517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#257517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257517
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257517#FFFFFF#000000##FFFFFF
##2575171.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A01
Deuteranopia (green-blind)
#6F6322
Tritanopia (blue-blind)
#167163
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #257517;
/* rgb */ color: rgb(37, 117, 23);
/* oklch */ color: oklch(49.5% 0.148 141.1);
Tailwind
colors: {
  custom: {
    50: '#6c9e5c',
    500: '#257517',
    950: '#000000',
  },
}
SCSS
$custom: #257517;
$custom-light: #6c9e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#257517",
  "rgb": {
    "r": 37,
    "g": 117,
    "b": 23
  },
  "hsl": {
    "h": 111.064,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.49502,
    "c": 0.14801,
    "h": 141.1
  },
  "luminance": 0.13178
}

Semantic roles & 50–950 ramp

primary
#257517
secondary
#9A3DAA
accent
#3EEAD0
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #257517

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

Preview Lab → · Contrast checker → · Palette generator →

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