#31801A#31801A

#31801A is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.1% C 0.155 H 139.8°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#31801A
RGBrgb(49, 128, 26)
HSLhsl(106, 66%, 30%)
HSVhsv(106, 80%, 50%)
CMYKcmyk(61.7%, 0%, 79.7%, 49.8%)
CIE-LABlab(47.19, -43.03, 44.67)
CIE-LCHlch(47.19, 62.03, 133.93°)
OKLaboklab(53.06% -0.1182 0.0998)
OKLCHoklch(53.06% 0.155 139.8)
XYZxyz(9.1718, 16.1651, 3.6139)
Luminance0.1617 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31801A #691A80
analogous
#64801A #31801A #1A8036
triadic
#31801A #1A3180 #801A31
tetradic
#31801A #1A6480 #691A80 #80361A
square
#31801A #1A6480 #691A80 #80361A
split-complementary
#31801A #361A80 #801A64
monochromatic
#0A1A05 #1E4D10 #31801A #44B324 #60D83D

Accessibility & contrast

On white

4.96
#31801A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#31801A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31801A
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31801A#FFFFFF#000000##FFFFFF
##31801A1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847401
Deuteranopia (green-blind)
#7A6D25
Tritanopia (blue-blind)
#277C6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #31801a;
/* rgb */ color: rgb(49, 128, 26);
/* oklch */ color: oklch(53.1% 0.155 139.8);
Tailwind
colors: {
  custom: {
    50: '#74a65f',
    500: '#31801a',
    950: '#000000',
  },
}
SCSS
$custom: #31801a;
$custom-light: #74a65f;
$custom-dark: #000000;
JSON
{
  "hex": "#31801a",
  "rgb": {
    "r": 49,
    "g": 128,
    "b": 26
  },
  "hsl": {
    "h": 106.471,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53055,
    "c": 0.15475,
    "h": 139.8
  },
  "luminance": 0.16166
}

Semantic roles & 50–950 ramp

primary
#31801A
secondary
#9A42B4
accent
#3FE9C3
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #31801A

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

Preview Lab → · Contrast checker → · Palette generator →

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