#317028#317028

#317028 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.7% C 0.124 H 141.3°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#317028
RGBrgb(49, 112, 40)
HSLhsl(113, 47%, 30%)
HSVhsv(113, 64%, 44%)
CMYKcmyk(56.3%, 0%, 64.3%, 56.1%)
CIE-LABlab(41.84, -35.37, 33.19)
CIE-LCHlch(41.84, 48.51, 136.82°)
OKLaboklab(48.67% -0.0966 0.0776)
OKLCHoklch(48.67% 0.124 141.3)
XYZxyz(7.4434, 12.3939, 4.0071)
Luminance0.1240 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317028 #672870
analogous
#557028 #317028 #287043
triadic
#317028 #283170 #702831
tetradic
#317028 #285570 #672870 #704328
square
#317028 #285570 #672870 #704328
split-complementary
#317028 #432870 #702855
monochromatic
#0A1708 #1D4318 #317028 #459D38 #5FC151

Accessibility & contrast

On white

6.04
#317028 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#317028 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317028
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317028#FFFFFF#000000##FFFFFF
##3170281.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736620
Deuteranopia (green-blind)
#6B612E
Tritanopia (blue-blind)
#296D61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #317028;
/* rgb */ color: rgb(49, 112, 40);
/* oklch */ color: oklch(48.7% 0.124 141.3);
Tailwind
colors: {
  custom: {
    50: '#709a65',
    500: '#317028',
    950: '#000000',
  },
}
SCSS
$custom: #317028;
$custom-light: #709a65;
$custom-dark: #000000;
JSON
{
  "hex": "#317028",
  "rgb": {
    "r": 49,
    "g": 112,
    "b": 40
  },
  "hsl": {
    "h": 112.5,
    "s": 47.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.48673,
    "c": 0.12391,
    "h": 141.3
  },
  "luminance": 0.12395
}

Semantic roles & 50–950 ramp

primary
#317028
secondary
#9851A2
accent
#51D7C6
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #317028

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

Preview Lab → · Contrast checker → · Palette generator →

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