#317243#317243

#317243 is a mid, moderate green. Relative luminance 0.131; OKLCH L 49.7% C 0.100 H 150.3°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#317243
RGBrgb(49, 114, 67)
HSLhsl(137, 40%, 32%)
HSVhsv(137, 57%, 45%)
CMYKcmyk(57%, 0%, 41.2%, 55.3%)
CIE-LABlab(42.90, -32.09, 19.94)
CIE-LCHlch(42.90, 37.78, 148.14°)
OKLaboklab(49.67% -0.087 0.0496)
OKLCHoklch(49.67% 0.1 150.3)
XYZxyz(8.2965, 13.0921, 7.3989)
Luminance0.1309 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317243 #723160
analogous
#407231 #317243 #317264
triadic
#317243 #433172 #724331
tetradic
#317243 #314072 #723160 #726431
square
#317243 #314072 #723160 #726431
split-complementary
#317243 #643172 #723140
monochromatic
#0C1C11 #1F472A #317243 #439D5C #62BB7B

Accessibility & contrast

On white

5.80
#317243 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#317243 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317243
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317243#FFFFFF#000000##FFFFFF
##3172431.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736940
Deuteranopia (green-blind)
#6A6346
Tritanopia (blue-blind)
#227066
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #317243;
/* rgb */ color: rgb(49, 114, 67);
/* oklch */ color: oklch(49.7% 0.100 150.3);
Tailwind
colors: {
  custom: {
    50: '#6f9b77',
    500: '#317243',
    950: '#000000',
  },
}
SCSS
$custom: #317243;
$custom-light: #6f9b77;
$custom-dark: #000000;
JSON
{
  "hex": "#317243",
  "rgb": {
    "r": 49,
    "g": 114,
    "b": 67
  },
  "hsl": {
    "h": 136.615,
    "s": 39.877,
    "l": 31.961
  },
  "oklch": {
    "l": 0.49674,
    "c": 0.10011,
    "h": 150.3
  },
  "luminance": 0.13093
}

Semantic roles & 50–950 ramp

primary
#317243
secondary
#A35C8F
accent
#58AFD0
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080E09
muted
#7B7E7B

Preview Lab

Preview with #317243

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

Preview Lab → · Contrast checker → · Palette generator →

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