#257B17#257B17

#257B17 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.2% C 0.155 H 141.2°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#257B17
RGBrgb(37, 123, 23)
HSLhsl(112, 68%, 29%)
HSVhsv(112, 81%, 48%)
CMYKcmyk(69.9%, 0%, 81.3%, 51.8%)
CIE-LABlab(45.11, -44.28, 43.57)
CIE-LCHlch(45.11, 62.12, 135.46°)
OKLaboklab(51.23% -0.121 0.0972)
OKLCHoklch(51.23% 0.155 141.2)
XYZxyz(8.0001, 14.6203, 3.2108)
Luminance0.1462 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257B17 #6D177B
analogous
#577B17 #257B17 #177B3B
triadic
#257B17 #17257B #7B1725
tetradic
#257B17 #17577B #6D177B #7B3B17
square
#257B17 #17577B #6D177B #7B3B17
split-complementary
#257B17 #3B177B #7B1757
monochromatic
#081A05 #15470D #257B17 #35AF21 #4BD933

Accessibility & contrast

On white

5.35
#257B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#257B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257B17
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257B17#FFFFFF#000000##FFFFFF
##257B171.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#746823
Tritanopia (blue-blind)
#137768
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #257b17;
/* rgb */ color: rgb(37, 123, 23);
/* oklch */ color: oklch(51.2% 0.155 141.2);
Tailwind
colors: {
  custom: {
    50: '#6da25d',
    500: '#257b17',
    950: '#000000',
  },
}
SCSS
$custom: #257b17;
$custom-light: #6da25d;
$custom-dark: #000000;
JSON
{
  "hex": "#257b17",
  "rgb": {
    "r": 37,
    "g": 123,
    "b": 23
  },
  "hsl": {
    "h": 111.6,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51227,
    "c": 0.1552,
    "h": 141.2
  },
  "luminance": 0.14621
}

Semantic roles & 50–950 ramp

primary
#257B17
secondary
#A03EB0
accent
#3CEBD3
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #257B17

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

Preview Lab → · Contrast checker → · Palette generator →

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