#317214#317214

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

Color values

HEX#317214
RGBrgb(49, 114, 20)
HSLhsl(101, 70%, 26%)
HSVhsv(101, 82%, 45%)
CMYKcmyk(57%, 0%, 82.5%, 55.3%)
CIE-LABlab(42.37, -37.98, 42.09)
CIE-LCHlch(42.37, 56.69, 132.06°)
OKLaboklab(49.06% -0.105 0.0935)
OKLCHoklch(49.06% 0.141 138.3)
XYZxyz(7.4099, 12.7375, 2.7298)
Luminance0.1274 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317214 #551472
analogous
#607214 #317214 #147226
triadic
#317214 #143172 #721431
tetradic
#317214 #146072 #551472 #722614
square
#317214 #146072 #551472 #722614
split-complementary
#317214 #261472 #721460
monochromatic
#0B1A05 #1B3E0B #317214 #47A61D #5ED927

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##317214#FFFFFF#000000##FFFFFF
##3172141.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)
#6E621F
Tritanopia (blue-blind)
#2B6E61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #317214;
/* rgb */ color: rgb(49, 114, 20);
/* oklch */ color: oklch(49.1% 0.141 138.3);
Tailwind
colors: {
  custom: {
    50: '#719b5a',
    500: '#317214',
    950: '#000000',
  },
}
SCSS
$custom: #317214;
$custom-light: #719b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#317214",
  "rgb": {
    "r": 49,
    "g": 114,
    "b": 20
  },
  "hsl": {
    "h": 101.489,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49059,
    "c": 0.1406,
    "h": 138.3
  },
  "luminance": 0.12738
}

Semantic roles & 50–950 ramp

primary
#317214
secondary
#8639A8
accent
#3BEDB6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #317214

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

Preview Lab → · Contrast checker → · Palette generator →

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