#317215#317215

#317215 is a mid, vivid green. Relative luminance 0.127; OKLCH L 49.1% C 0.140 H 138.4°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#317215
RGBrgb(49, 114, 21)
HSLhsl(102, 69%, 26%)
HSVhsv(102, 82%, 45%)
CMYKcmyk(57%, 0%, 81.6%, 55.3%)
CIE-LABlab(42.37, -37.91, 41.76)
CIE-LCHlch(42.37, 56.41, 132.23°)
OKLaboklab(49.07% -0.1047 0.093)
OKLCHoklch(49.07% 0.14 138.4)
XYZxyz(7.4190, 12.7411, 2.7777)
Luminance0.1274 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317215 #561572
analogous
#607215 #317215 #157227
triadic
#317215 #153172 #721531
tetradic
#317215 #156072 #561572 #722715
square
#317215 #156072 #561572 #722715
split-complementary
#317215 #271572 #721560
monochromatic
#0B1A05 #1B3E0B #317215 #47A61F #5ED82A

Accessibility & contrast

On white

5.92
#317215 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#317215 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317215
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317215#FFFFFF#000000##FFFFFF
##3172151.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#6D6220
Tritanopia (blue-blind)
#2B6E61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #317215;
/* rgb */ color: rgb(49, 114, 21);
/* oklch */ color: oklch(49.1% 0.140 138.4);
Tailwind
colors: {
  custom: {
    50: '#719b5b',
    500: '#317215',
    950: '#000000',
  },
}
SCSS
$custom: #317215;
$custom-light: #719b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#317215",
  "rgb": {
    "r": 49,
    "g": 114,
    "b": 21
  },
  "hsl": {
    "h": 101.935,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49065,
    "c": 0.14007,
    "h": 138.4
  },
  "luminance": 0.12742
}

Semantic roles & 50–950 ramp

primary
#317215
secondary
#873BA8
accent
#3CECB7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #317215

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

Preview Lab → · Contrast checker → · Palette generator →

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