#257C17#257C17

#257C17 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.5% C 0.156 H 141.2°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#257C17
RGBrgb(37, 124, 23)
HSLhsl(112, 69%, 29%)
HSVhsv(112, 81%, 49%)
CMYKcmyk(70.2%, 0%, 81.5%, 51.4%)
CIE-LABlab(45.46, -44.64, 43.90)
CIE-LCHlch(45.46, 62.61, 135.48°)
OKLaboklab(51.51% -0.1219 0.0979)
OKLCHoklch(51.51% 0.156 141.2)
XYZxyz(8.1248, 14.8696, 3.2524)
Luminance0.1487 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257C17 #6E177C
analogous
#587C17 #257C17 #177C3C
triadic
#257C17 #17257C #7C1725
tetradic
#257C17 #17587C #6E177C #7C3C17
square
#257C17 #17587C #6E177C #7C3C17
split-complementary
#257C17 #3C177C #7C1758
monochromatic
#081A05 #16480D #257C17 #34B021 #4BD934

Accessibility & contrast

On white

5.28
#257C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#257C17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257C17
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257C17#FFFFFF#000000##FFFFFF
##257C171.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#756923
Tritanopia (blue-blind)
#127869
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #257c17;
/* rgb */ color: rgb(37, 124, 23);
/* oklch */ color: oklch(51.5% 0.156 141.2);
Tailwind
colors: {
  custom: {
    50: '#6da35d',
    500: '#257c17',
    950: '#000000',
  },
}
SCSS
$custom: #257c17;
$custom-light: #6da35d;
$custom-dark: #000000;
JSON
{
  "hex": "#257c17",
  "rgb": {
    "r": 37,
    "g": 124,
    "b": 23
  },
  "hsl": {
    "h": 111.683,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51514,
    "c": 0.15638,
    "h": 141.2
  },
  "luminance": 0.1487
}

Semantic roles & 50–950 ramp

primary
#257C17
secondary
#A13EB1
accent
#3CECD3
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #257C17

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

Preview Lab → · Contrast checker → · Palette generator →

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