#31961C#31961C

#31961C is a mid, vivid green. Relative luminance 0.226; OKLCH L 59.2% C 0.180 H 140.8°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#31961C
RGBrgb(49, 150, 28)
HSLhsl(110, 69%, 35%)
HSVhsv(110, 81%, 59%)
CMYKcmyk(67.3%, 0%, 81.3%, 41.2%)
CIE-LABlab(54.60, -50.86, 51.09)
CIE-LCHlch(54.60, 72.09, 134.87°)
OKLaboklab(59.2% -0.1392 0.1135)
OKLCHoklch(59.2% 0.18 140.8)
XYZxyz(12.3819, 22.5482, 4.7981)
Luminance0.2255 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31961C #811C96
analogous
#6E961C #31961C #1C9644
triadic
#31961C #1C3196 #961C31
tetradic
#31961C #1C6E96 #811C96 #96441C
square
#31961C #1C6E96 #811C96 #96441C
split-complementary
#31961C #441C96 #961C6E
monochromatic
#0F2F09 #206212 #31961C #42CA26 #67DE4E

Accessibility & contrast

On white

3.81
#31961C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#31961C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31961C
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31961C#FFFFFF#000000##000000
##31961C1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#8E802B
Tritanopia (blue-blind)
#1E9180
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #31961c;
/* rgb */ color: rgb(49, 150, 28);
/* oklch */ color: oklch(59.2% 0.180 140.8);
Tailwind
colors: {
  custom: {
    50: '#78b663',
    500: '#31961c',
    950: '#000000',
  },
}
SCSS
$custom: #31961c;
$custom-light: #78b663;
$custom-dark: #000000;
JSON
{
  "hex": "#31961c",
  "rgb": {
    "r": 49,
    "g": 150,
    "b": 28
  },
  "hsl": {
    "h": 109.672,
    "s": 68.539,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59196,
    "c": 0.17962,
    "h": 140.8
  },
  "luminance": 0.2255
}

Semantic roles & 50–950 ramp

primary
#31961C
secondary
#AD4DC1
accent
#3CEBCD
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #31961C

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

Preview Lab → · Contrast checker → · Palette generator →

#31961C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva