#39791F#39791F

#39791F is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.5% C 0.139 H 138.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#39791F
RGBrgb(57, 121, 31)
HSLhsl(103, 59%, 30%)
HSVhsv(103, 74%, 47%)
CMYKcmyk(52.9%, 0%, 74.4%, 52.5%)
CIE-LABlab(45.14, -37.59, 40.87)
CIE-LCHlch(45.14, 55.52, 132.60°)
OKLaboklab(51.46% -0.1038 0.0925)
OKLCHoklch(51.46% 0.139 138.3)
XYZxyz(8.7717, 14.6429, 3.6602)
Luminance0.1464 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39791F #5F1F79
analogous
#66791F #39791F #1F7932
triadic
#39791F #1F3979 #791F39
tetradic
#39791F #1F6679 #5F1F79 #79321F
square
#39791F #1F6679 #5F1F79 #79321F
split-complementary
#39791F #321F79 #791F66
monochromatic
#0B1806 #224813 #39791F #50AA2B #6CCF43

Accessibility & contrast

On white

5.35
#39791F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#39791F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #39791F
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39791F#FFFFFF#000000##FFFFFF
##39791F1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E10
Deuteranopia (green-blind)
#756928
Tritanopia (blue-blind)
#347567
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #39791f;
/* rgb */ color: rgb(57, 121, 31);
/* oklch */ color: oklch(51.5% 0.139 138.3);
Tailwind
colors: {
  custom: {
    50: '#76a061',
    500: '#39791f',
    950: '#000000',
  },
}
SCSS
$custom: #39791f;
$custom-light: #76a061;
$custom-dark: #000000;
JSON
{
  "hex": "#39791f",
  "rgb": {
    "r": 57,
    "g": 121,
    "b": 31
  },
  "hsl": {
    "h": 102.667,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51457,
    "c": 0.13903,
    "h": 138.3
  },
  "luminance": 0.14644
}

Semantic roles & 50–950 ramp

primary
#39791F
secondary
#8F47AC
accent
#45E2B5
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#090F05
muted
#7B7E79

Preview Lab

Preview with #39791F

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

Preview Lab → · Contrast checker → · Palette generator →

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