#31861A#31861A

#31861A is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.7% C 0.162 H 140.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#31861A
RGBrgb(49, 134, 26)
HSLhsl(107, 68%, 31%)
HSVhsv(107, 81%, 53%)
CMYKcmyk(63.4%, 0%, 80.6%, 47.5%)
CIE-LABlab(49.22, -45.27, 46.63)
CIE-LCHlch(49.22, 64.99, 134.16°)
OKLaboklab(54.74% -0.1243 0.1039)
OKLCHoklch(54.74% 0.162 140.1)
XYZxyz(9.9777, 17.7768, 3.8825)
Luminance0.1778 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31861A #6F1A86
analogous
#67861A #31861A #1A8639
triadic
#31861A #1A3186 #861A31
tetradic
#31861A #1A6786 #6F1A86 #86391A
square
#31861A #1A6786 #6F1A86 #86391A
split-complementary
#31861A #391A86 #861A67
monochromatic
#0C1F06 #1E5310 #31861A #44B924 #61DA40

Accessibility & contrast

On white

4.61
#31861A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#31861A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #31861A
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31861A#FFFFFF#000000##FFFFFF
##31861A1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#807227
Tritanopia (blue-blind)
#258172
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #31861a;
/* rgb */ color: rgb(49, 134, 26);
/* oklch */ color: oklch(54.7% 0.162 140.1);
Tailwind
colors: {
  custom: {
    50: '#75aa60',
    500: '#31861a',
    950: '#000000',
  },
}
SCSS
$custom: #31861a;
$custom-light: #75aa60;
$custom-dark: #000000;
JSON
{
  "hex": "#31861a",
  "rgb": {
    "r": 49,
    "g": 134,
    "b": 26
  },
  "hsl": {
    "h": 107.222,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54737,
    "c": 0.16198,
    "h": 140.1
  },
  "luminance": 0.17778
}

Semantic roles & 50–950 ramp

primary
#31861A
secondary
#A042B9
accent
#3DEAC6
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #31861A

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

Preview Lab → · Contrast checker → · Palette generator →

#31861A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva