#257117#257117

#257117 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.3% C 0.143 H 140.9°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#257117
RGBrgb(37, 113, 23)
HSLhsl(111, 66%, 27%)
HSVhsv(111, 80%, 44%)
CMYKcmyk(67.3%, 0%, 79.6%, 55.7%)
CIE-LABlab(41.63, -40.63, 40.21)
CIE-LCHlch(41.63, 57.16, 135.30°)
OKLaboklab(48.35% -0.1111 0.0902)
OKLCHoklch(48.35% 0.143 140.9)
XYZxyz(6.8224, 12.2648, 2.8182)
Luminance0.1226 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#257117 #631771
analogous
#527117 #257117 #177136
triadic
#257117 #172571 #711725
tetradic
#257117 #175271 #631771 #713617
square
#257117 #175271 #631771 #713617
split-complementary
#257117 #361771 #711752
monochromatic
#081905 #143E0D #257117 #36A421 #48D42E

Accessibility & contrast

On white

6.08
#257117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#257117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #257117
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##257117#FFFFFF#000000##FFFFFF
##2571171.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746603
Deuteranopia (green-blind)
#6B6021
Tritanopia (blue-blind)
#186D60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #257117;
/* rgb */ color: rgb(37, 113, 23);
/* oklch */ color: oklch(48.3% 0.143 140.9);
Tailwind
colors: {
  custom: {
    50: '#6b9b5b',
    500: '#257117',
    950: '#000000',
  },
}
SCSS
$custom: #257117;
$custom-light: #6b9b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#257117",
  "rgb": {
    "r": 37,
    "g": 113,
    "b": 23
  },
  "hsl": {
    "h": 110.667,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48347,
    "c": 0.14311,
    "h": 140.9
  },
  "luminance": 0.12265
}

Semantic roles & 50–950 ramp

primary
#257117
secondary
#963DA7
accent
#3FE9CF
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #257117

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

Preview Lab → · Contrast checker → · Palette generator →

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