#317230#317230

#317230 is a mid, moderate green. Relative luminance 0.129; OKLCH L 49.3% C 0.119 H 143.2°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#317230
RGBrgb(49, 114, 48)
HSLhsl(119, 41%, 32%)
HSVhsv(119, 58%, 45%)
CMYKcmyk(57%, 0%, 57.9%, 55.3%)
CIE-LABlab(42.61, -35.20, 30.04)
CIE-LCHlch(42.61, 46.28, 139.52°)
OKLaboklab(49.34% -0.0957 0.0715)
OKLCHoklch(49.34% 0.119 143.2)
XYZxyz(7.8170, 12.9003, 4.8738)
Luminance0.1290 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317230 #713072
analogous
#527230 #317230 #307250
triadic
#317230 #303172 #723031
tetradic
#317230 #305272 #713072 #725030
square
#317230 #305272 #713072 #725030
split-complementary
#317230 #503072 #723052
monochromatic
#0C1C0C #1E471E #317230 #449D42 #62BC60

Accessibility & contrast

On white

5.87
#317230 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#317230 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317230
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317230#FFFFFF#000000##FFFFFF
##3172301.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74682A
Deuteranopia (green-blind)
#6C6235
Tritanopia (blue-blind)
#276F63
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #317230;
/* rgb */ color: rgb(49, 114, 48);
/* oklch */ color: oklch(49.3% 0.119 143.2);
Tailwind
colors: {
  custom: {
    50: '#709b6a',
    500: '#317230',
    950: '#000000',
  },
}
SCSS
$custom: #317230;
$custom-light: #709b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#317230",
  "rgb": {
    "r": 49,
    "g": 114,
    "b": 48
  },
  "hsl": {
    "h": 119.091,
    "s": 40.741,
    "l": 31.765
  },
  "oklch": {
    "l": 0.49342,
    "c": 0.11949,
    "h": 143.2
  },
  "luminance": 0.12901
}

Semantic roles & 50–950 ramp

primary
#317230
secondary
#A25BA3
accent
#57D1CF
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #317230

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

Preview Lab → · Contrast checker → · Palette generator →

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