#3B7814#3B7814

#3B7814 is a mid, vivid yellow-green. Relative luminance 0.144; OKLCH L 51.2% C 0.143 H 136.5°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#3B7814
RGBrgb(59, 120, 20)
HSLhsl(97, 71%, 27%)
HSVhsv(97, 83%, 47%)
CMYKcmyk(50.8%, 0%, 83.3%, 52.9%)
CIE-LABlab(44.82, -37.28, 44.53)
CIE-LCHlch(44.82, 58.08, 129.93°)
OKLaboklab(51.19% -0.1038 0.0985)
OKLCHoklch(51.19% 0.143 136.5)
XYZxyz(8.6461, 14.4127, 2.9880)
Luminance0.1441 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7814 #511478
analogous
#6D7814 #3B7814 #14781F
triadic
#3B7814 #143B78 #78143B
tetradic
#3B7814 #146D78 #511478 #781F14
square
#3B7814 #146D78 #511478 #781F14
split-complementary
#3B7814 #1F1478 #78146D
monochromatic
#0D1A04 #21440B #3B7814 #55AC1D #70DC2B

Accessibility & contrast

On white

5.41
#3B7814 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#3B7814 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B7814
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B7814#FFFFFF#000000##FFFFFF
##3B78141.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#746820
Tritanopia (blue-blind)
#387366
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3b7814;
/* rgb */ color: rgb(59, 120, 20);
/* oklch */ color: oklch(51.2% 0.143 136.5);
Tailwind
colors: {
  custom: {
    50: '#789f5b',
    500: '#3b7814',
    950: '#000000',
  },
}
SCSS
$custom: #3b7814;
$custom-light: #789f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7814",
  "rgb": {
    "r": 59,
    "g": 120,
    "b": 20
  },
  "hsl": {
    "h": 96.6,
    "s": 71.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.51193,
    "c": 0.14309,
    "h": 136.5
  },
  "luminance": 0.14413
}

Semantic roles & 50–950 ramp

primary
#3B7814
secondary
#813AAE
accent
#3AEEA8
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3B7814

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

Preview Lab → · Contrast checker → · Palette generator →

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