#3B7314#3B7314

#3B7314 is a mid, vivid yellow-green. Relative luminance 0.132; OKLCH L 49.8% C 0.137 H 135.9°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#3B7314
RGBrgb(59, 115, 20)
HSLhsl(95, 70%, 26%)
HSVhsv(95, 83%, 45%)
CMYKcmyk(48.7%, 0%, 82.6%, 54.9%)
CIE-LABlab(43.12, -35.17, 42.96)
CIE-LCHlch(43.12, 55.52, 129.31°)
OKLaboklab(49.8% -0.0981 0.0952)
OKLCHoklch(49.8% 0.137 135.9)
XYZxyz(8.0604, 13.2413, 2.7928)
Luminance0.1324 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7314 #4C1473
analogous
#6B7314 #3B7314 #14731C
triadic
#3B7314 #143B73 #73143B
tetradic
#3B7314 #146B73 #4C1473 #731C14
square
#3B7314 #146B73 #4C1473 #731C14
split-complementary
#3B7314 #1C1473 #73146B
monochromatic
#0D1A05 #203F0B #3B7314 #56A71D #71DA28

Accessibility & contrast

On white

5.76
#3B7314 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#3B7314 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B7314
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B7314#FFFFFF#000000##FFFFFF
##3B73141.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#70641F
Tritanopia (blue-blind)
#396E62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3b7314;
/* rgb */ color: rgb(59, 115, 20);
/* oklch */ color: oklch(49.8% 0.137 135.9);
Tailwind
colors: {
  custom: {
    50: '#779c5b',
    500: '#3b7314',
    950: '#000000',
  },
}
SCSS
$custom: #3b7314;
$custom-light: #779c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7314",
  "rgb": {
    "r": 59,
    "g": 115,
    "b": 20
  },
  "hsl": {
    "h": 95.368,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.498,
    "c": 0.13671,
    "h": 135.9
  },
  "luminance": 0.13242
}

Semantic roles & 50–950 ramp

primary
#3B7314
secondary
#7B3AA9
accent
#3BEDA4
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3B7314

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

Preview Lab → · Contrast checker → · Palette generator →

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