#31702C#31702C

#31702C is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.7% C 0.120 H 142.2°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#31702C
RGBrgb(49, 112, 44)
HSLhsl(116, 44%, 31%)
HSVhsv(116, 61%, 44%)
CMYKcmyk(56.3%, 0%, 60.7%, 56.1%)
CIE-LABlab(41.88, -34.88, 31.24)
CIE-LCHlch(41.88, 46.83, 138.15°)
OKLaboklab(48.72% -0.0951 0.0738)
OKLCHoklch(48.72% 0.12 142.2)
XYZxyz(7.5150, 12.4225, 4.3842)
Luminance0.1242 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31702C #6B2C70
analogous
#53702C #31702C #2C7049
triadic
#31702C #2C3170 #702C31
tetradic
#31702C #2C5370 #6B2C70 #70492C
square
#31702C #2C5370 #6B2C70 #70492C
split-complementary
#31702C #492C70 #702C53
monochromatic
#0B1809 #1E441B #31702C #449C3D #60BE59

Accessibility & contrast

On white

6.03
#31702C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#31702C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31702C
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31702C#FFFFFF#000000##FFFFFF
##31702C1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736625
Deuteranopia (green-blind)
#6A6131
Tritanopia (blue-blind)
#286D61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #31702c;
/* rgb */ color: rgb(49, 112, 44);
/* oklch */ color: oklch(48.7% 0.120 142.2);
Tailwind
colors: {
  custom: {
    50: '#709a67',
    500: '#31702c',
    950: '#000000',
  },
}
SCSS
$custom: #31702c;
$custom-light: #709a67;
$custom-dark: #000000;
JSON
{
  "hex": "#31702c",
  "rgb": {
    "r": 49,
    "g": 112,
    "b": 44
  },
  "hsl": {
    "h": 115.588,
    "s": 43.59,
    "l": 30.588
  },
  "oklch": {
    "l": 0.48724,
    "c": 0.12033,
    "h": 142.2
  },
  "luminance": 0.12423
}

Semantic roles & 50–950 ramp

primary
#31702C
secondary
#9C56A2
accent
#54D3CA
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #31702C

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

Preview Lab → · Contrast checker → · Palette generator →

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