#31671A#31671A

#31671A is a mid, vivid green. Relative luminance 0.104; OKLCH L 46.0% C 0.123 H 138.0°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#31671A
RGBrgb(49, 103, 26)
HSLhsl(102, 60%, 25%)
HSVhsv(102, 75%, 40%)
CMYKcmyk(52.4%, 0%, 74.8%, 59.6%)
CIE-LABlab(38.60, -32.96, 36.12)
CIE-LCHlch(38.60, 48.90, 132.38°)
OKLaboklab(45.97% -0.0911 0.082)
OKLCHoklch(45.97% 0.123 138)
XYZxyz(6.3031, 10.4276, 2.6577)
Luminance0.1043 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31671A #501A67
analogous
#57671A #31671A #1A6729
triadic
#31671A #1A3167 #671A31
tetradic
#31671A #1A5767 #501A67 #67291A
square
#31671A #1A5767 #501A67 #67291A
split-complementary
#31671A #291A67 #671A57
monochromatic
#0C1806 #1A360E #31671A #489826 #5FC933

Accessibility & contrast

On white

6.81
#31671A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#31671A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31671A
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31671A#FFFFFF#000000##FFFFFF
##31671A1.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E0E
Deuteranopia (green-blind)
#635921
Tritanopia (blue-blind)
#2D6358
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #31671a;
/* rgb */ color: rgb(49, 103, 26);
/* oklch */ color: oklch(46.0% 0.123 138.0);
Tailwind
colors: {
  custom: {
    50: '#6f935c',
    500: '#31671a',
    950: '#000000',
  },
}
SCSS
$custom: #31671a;
$custom-light: #6f935c;
$custom-dark: #000000;
JSON
{
  "hex": "#31671a",
  "rgb": {
    "r": 49,
    "g": 103,
    "b": 26
  },
  "hsl": {
    "h": 102.078,
    "s": 59.69,
    "l": 25.294
  },
  "oklch": {
    "l": 0.45969,
    "c": 0.12252,
    "h": 138
  },
  "luminance": 0.10428
}

Semantic roles & 50–950 ramp

primary
#31671A
secondary
#81409D
accent
#45E3B4
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #31671A

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

Preview Lab → · Contrast checker → · Palette generator →

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