#3B7D14#3B7D14

#3B7D14 is a mid, vivid yellow-green. Relative luminance 0.156; OKLCH L 52.6% C 0.149 H 137.1°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#3B7D14
RGBrgb(59, 125, 20)
HSLhsl(98, 72%, 28%)
HSVhsv(98, 84%, 49%)
CMYKcmyk(52.8%, 0%, 84%, 51%)
CIE-LABlab(46.51, -39.33, 46.09)
CIE-LCHlch(46.51, 60.59, 130.48°)
OKLaboklab(52.58% -0.1093 0.1017)
OKLCHoklch(52.58% 0.149 137.1)
XYZxyz(9.2632, 15.6469, 3.1937)
Luminance0.1565 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7D14 #56147D
analogous
#6F7D14 #3B7D14 #147D21
triadic
#3B7D14 #143B7D #7D143B
tetradic
#3B7D14 #146F7D #56147D #7D2114
square
#3B7D14 #146F7D #56147D #7D2114
split-complementary
#3B7D14 #21147D #7D146F
monochromatic
#0C1A04 #22480C #3B7D14 #54B21C #6FDE2E

Accessibility & contrast

On white

5.09
#3B7D14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#3B7D14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B7D14
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B7D14#FFFFFF#000000##FFFFFF
##3B7D141.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817200
Deuteranopia (green-blind)
#796C21
Tritanopia (blue-blind)
#37786A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3b7d14;
/* rgb */ color: rgb(59, 125, 20);
/* oklch */ color: oklch(52.6% 0.149 137.1);
Tailwind
colors: {
  custom: {
    50: '#79a35c',
    500: '#3b7d14',
    950: '#000000',
  },
}
SCSS
$custom: #3b7d14;
$custom-light: #79a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7d14",
  "rgb": {
    "r": 59,
    "g": 125,
    "b": 20
  },
  "hsl": {
    "h": 97.714,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52583,
    "c": 0.14934,
    "h": 137.1
  },
  "luminance": 0.15648
}

Semantic roles & 50–950 ramp

primary
#3B7D14
secondary
#863AB2
accent
#39EFAB
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3B7D14

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

Preview Lab → · Contrast checker → · Palette generator →

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