#31760F#31760F

#31760F is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.2% C 0.148 H 138.2°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#31760F
RGBrgb(49, 118, 15)
HSLhsl(100, 77%, 26%)
HSVhsv(100, 87%, 46%)
CMYKcmyk(58.5%, 0%, 87.3%, 53.7%)
CIE-LABlab(43.72, -39.83, 44.84)
CIE-LCHlch(43.72, 59.98, 131.62°)
OKLaboklab(50.17% -0.1102 0.0985)
OKLCHoklch(50.17% 0.148 138.2)
XYZxyz(7.8310, 13.6437, 2.6727)
Luminance0.1364 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31760F #540F76
analogous
#64760F #31760F #0F7620
triadic
#31760F #0F3176 #760F31
tetradic
#31760F #0F6476 #540F76 #76200F
square
#31760F #0F6476 #540F76 #76200F
split-complementary
#31760F #200F76 #760F64
monochromatic
#0B1B03 #1A4008 #31760F #48AC16 #5EE21D

Accessibility & contrast

On white

5.63
#31760F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#31760F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31760F
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31760F#FFFFFF#000000##FFFFFF
##31760F1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#71651D
Tritanopia (blue-blind)
#2B7264
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #31760f;
/* rgb */ color: rgb(49, 118, 15);
/* oklch */ color: oklch(50.2% 0.148 138.2);
Tailwind
colors: {
  custom: {
    50: '#729e59',
    500: '#31760f',
    950: '#000000',
  },
}
SCSS
$custom: #31760f;
$custom-light: #729e59;
$custom-dark: #000000;
JSON
{
  "hex": "#31760f",
  "rgb": {
    "r": 49,
    "g": 118,
    "b": 15
  },
  "hsl": {
    "h": 100.194,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.50167,
    "c": 0.14784,
    "h": 138.2
  },
  "luminance": 0.13644
}

Semantic roles & 50–950 ramp

primary
#31760F
secondary
#8533AD
accent
#34F4B5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #31760F

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

Preview Lab → · Contrast checker → · Palette generator →

#31760F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva