#39791B#39791B

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

Color values

HEX#39791B
RGBrgb(57, 121, 27)
HSLhsl(101, 64%, 29%)
HSVhsv(101, 78%, 47%)
CMYKcmyk(52.9%, 0%, 77.7%, 52.5%)
CIE-LABlab(45.11, -37.89, 42.39)
CIE-LCHlch(45.11, 56.86, 131.79°)
OKLaboklab(51.43% -0.1049 0.0951)
OKLCHoklch(51.43% 0.142 137.8)
XYZxyz(8.7222, 14.6231, 3.3996)
Luminance0.1462 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39791B #5B1B79
analogous
#68791B #39791B #1B792C
triadic
#39791B #1B3979 #791B39
tetradic
#39791B #1B6879 #5B1B79 #792C1B
square
#39791B #1B6879 #5B1B79 #792C1B
split-complementary
#39791B #2C1B79 #791B68
monochromatic
#0C1906 #214710 #39791B #51AB26 #6CD33B

Accessibility & contrast

On white

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

On black

3.92
#39791B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##39791B#FFFFFF#000000##FFFFFF
##39791B1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #39791b;
/* rgb */ color: rgb(57, 121, 27);
/* oklch */ color: oklch(51.4% 0.142 137.8);
Tailwind
colors: {
  custom: {
    50: '#76a05f',
    500: '#39791b',
    950: '#000000',
  },
}
SCSS
$custom: #39791b;
$custom-light: #76a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#39791b",
  "rgb": {
    "r": 57,
    "g": 121,
    "b": 27
  },
  "hsl": {
    "h": 100.851,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51425,
    "c": 0.14158,
    "h": 137.8
  },
  "luminance": 0.14624
}

Semantic roles & 50–950 ramp

primary
#39791B
secondary
#8B43AD
accent
#41E7B2
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090F05
muted
#7B7E79

Preview Lab

Preview with #39791B

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

Preview Lab → · Contrast checker → · Palette generator →

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