#3E791B#3E791B

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

Color values

HEX#3E791B
RGBrgb(62, 121, 27)
HSLhsl(98, 64%, 29%)
HSVhsv(98, 78%, 47%)
CMYKcmyk(48.8%, 0%, 77.7%, 52.5%)
CIE-LABlab(45.33, -36.27, 42.67)
CIE-LCHlch(45.33, 56.00, 130.36°)
OKLaboklab(51.66% -0.1008 0.0956)
OKLCHoklch(51.66% 0.139 136.5)
XYZxyz(9.0216, 14.7774, 3.4136)
Luminance0.1478 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E791B #561B79
analogous
#6D791B #3E791B #1B7927
triadic
#3E791B #1B3E79 #791B3E
tetradic
#3E791B #1B6D79 #561B79 #79271B
square
#3E791B #1B6D79 #561B79 #79271B
split-complementary
#3E791B #271B79 #791B6D
monochromatic
#0D1906 #244710 #3E791B #58AB26 #74D33B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E791B#FFFFFF#000000##FFFFFF
##3E791B1.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)
#7D6E07
Deuteranopia (green-blind)
#766925
Tritanopia (blue-blind)
#3B7467
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3e791b;
/* rgb */ color: rgb(62, 121, 27);
/* oklch */ color: oklch(51.7% 0.139 136.5);
Tailwind
colors: {
  custom: {
    50: '#79a05f',
    500: '#3e791b',
    950: '#000000',
  },
}
SCSS
$custom: #3e791b;
$custom-light: #79a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#3e791b",
  "rgb": {
    "r": 62,
    "g": 121,
    "b": 27
  },
  "hsl": {
    "h": 97.66,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5166,
    "c": 0.13897,
    "h": 136.5
  },
  "luminance": 0.14778
}

Semantic roles & 50–950 ramp

primary
#3E791B
secondary
#8643AD
accent
#41E7A9
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0F05
muted
#7C7E79

Preview Lab

Preview with #3E791B

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

Preview Lab → · Contrast checker → · Palette generator →

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