#315331#315331

#315331 is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.6% C 0.069 H 144.2°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#315331
RGBrgb(49, 83, 49)
HSLhsl(120, 26%, 26%)
HSVhsv(120, 41%, 33%)
CMYKcmyk(41%, 0%, 41%, 67.5%)
CIE-LABlab(31.95, -20.39, 16.13)
CIE-LCHlch(31.95, 26.00, 141.66°)
OKLaboklab(40.62% -0.0556 0.0401)
OKLCHoklch(40.62% 0.069 144.2)
XYZxyz(4.9140, 7.0610, 4.0091)
Luminance0.0706 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315331 #533153
analogous
#425331 #315331 #315342
triadic
#315331 #313153 #533131
tetradic
#315331 #314253 #533153 #534231
square
#315331 #314253 #533153 #534231
split-complementary
#315331 #423153 #533142
monochromatic
#0B130B #1A2D1A #315331 #487948 #5EA05E

Accessibility & contrast

On white

8.71
#315331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#315331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315331
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315331#FFFFFF#000000##FFFFFF
##3153311.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544D2F
Deuteranopia (green-blind)
#4F4A33
Tritanopia (blue-blind)
#2D514A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #315331;
/* rgb */ color: rgb(49, 83, 49);
/* oklch */ color: oklch(40.6% 0.069 144.2);
Tailwind
colors: {
  custom: {
    50: '#6b8369',
    500: '#315331',
    950: '#000000',
  },
}
SCSS
$custom: #315331;
$custom-light: #6b8369;
$custom-dark: #000000;
JSON
{
  "hex": "#315331",
  "rgb": {
    "r": 49,
    "g": 83,
    "b": 49
  },
  "hsl": {
    "h": 120,
    "s": 25.758,
    "l": 25.882
  },
  "oklch": {
    "l": 0.40623,
    "c": 0.06853,
    "h": 144.2
  },
  "luminance": 0.07061
}

Semantic roles & 50–950 ramp

primary
#315331
secondary
#845C84
accent
#66C2C2
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#070A06
muted
#7A7C7A

Preview Lab

Preview with #315331

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

Preview Lab → · Contrast checker → · Palette generator →

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