#257817#257817

#257817 is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.4% C 0.152 H 141.1°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#257817
RGBrgb(37, 120, 23)
HSLhsl(111, 68%, 28%)
HSVhsv(111, 81%, 47%)
CMYKcmyk(69.2%, 0%, 80.8%, 52.9%)
CIE-LABlab(44.07, -43.20, 42.57)
CIE-LCHlch(44.07, 60.65, 135.42°)
OKLaboklab(50.37% -0.1181 0.0951)
OKLCHoklch(50.37% 0.152 141.1)
XYZxyz(7.6337, 13.8873, 3.0887)
Luminance0.1389 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257817 #6A1778
analogous
#557817 #257817 #177839
triadic
#257817 #172578 #781725
tetradic
#257817 #175578 #6A1778 #783917
square
#257817 #175578 #6A1778 #783917
split-complementary
#257817 #391778 #781755
monochromatic
#081A05 #15450D #257817 #35AB21 #4AD832

Accessibility & contrast

On white

5.56
#257817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#257817 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257817
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257817#FFFFFF#000000##FFFFFF
##2578171.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#716622
Tritanopia (blue-blind)
#157466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #257817;
/* rgb */ color: rgb(37, 120, 23);
/* oklch */ color: oklch(50.4% 0.152 141.1);
Tailwind
colors: {
  custom: {
    50: '#6da05c',
    500: '#257817',
    950: '#000000',
  },
}
SCSS
$custom: #257817;
$custom-light: #6da05c;
$custom-dark: #000000;
JSON
{
  "hex": "#257817",
  "rgb": {
    "r": 37,
    "g": 120,
    "b": 23
  },
  "hsl": {
    "h": 111.34,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50366,
    "c": 0.15163,
    "h": 141.1
  },
  "luminance": 0.13888
}

Semantic roles & 50–950 ramp

primary
#257817
secondary
#9D3EAD
accent
#3DEBD2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F04
muted
#7B7E79

Preview Lab

Preview with #257817

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

Preview Lab → · Contrast checker → · Palette generator →

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