#3E791D#3E791D

#3E791D is a mid, vivid yellow-green. Relative luminance 0.148; OKLCH L 51.7% C 0.138 H 136.7°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#3E791D
RGBrgb(62, 121, 29)
HSLhsl(98, 61%, 29%)
HSVhsv(98, 76%, 47%)
CMYKcmyk(48.8%, 0%, 76%, 52.5%)
CIE-LABlab(45.34, -36.12, 41.93)
CIE-LCHlch(45.34, 55.34, 130.74°)
OKLaboklab(51.68% -0.1003 0.0944)
OKLCHoklch(51.68% 0.138 136.7)
XYZxyz(9.0455, 14.7870, 3.5397)
Luminance0.1479 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E791D #581D79
analogous
#6C791D #3E791D #1D792A
triadic
#3E791D #1D3E79 #791D3E
tetradic
#3E791D #1D6C79 #581D79 #792A1D
square
#3E791D #1D6C79 #581D79 #792A1D
split-complementary
#3E791D #2A1D79 #791D6C
monochromatic
#0D1906 #254811 #3E791D #57AA29 #74D13F

Accessibility & contrast

On white

5.31
#3E791D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#3E791D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E791D
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E791D#FFFFFF#000000##FFFFFF
##3E791D1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E0C
Deuteranopia (green-blind)
#756926
Tritanopia (blue-blind)
#3B7467
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3e791d;
/* rgb */ color: rgb(62, 121, 29);
/* oklch */ color: oklch(51.7% 0.138 136.7);
Tailwind
colors: {
  custom: {
    50: '#79a060',
    500: '#3e791d',
    950: '#000000',
  },
}
SCSS
$custom: #3e791d;
$custom-light: #79a060;
$custom-dark: #000000;
JSON
{
  "hex": "#3e791d",
  "rgb": {
    "r": 62,
    "g": 121,
    "b": 29
  },
  "hsl": {
    "h": 98.478,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51675,
    "c": 0.13772,
    "h": 136.7
  },
  "luminance": 0.14788
}

Semantic roles & 50–950 ramp

primary
#3E791D
secondary
#8845AD
accent
#43E4AB
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0F05
muted
#7C7E79

Preview Lab

Preview with #3E791D

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

Preview Lab → · Contrast checker → · Palette generator →

#3E791D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva