#3B7214#3B7214

#3B7214 is a mid, vivid yellow-green. Relative luminance 0.130; OKLCH L 49.5% C 0.135 H 135.7°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#3B7214
RGBrgb(59, 114, 20)
HSLhsl(95, 70%, 26%)
HSVhsv(95, 82%, 45%)
CMYKcmyk(48.2%, 0%, 82.5%, 55.3%)
CIE-LABlab(42.78, -34.75, 42.64)
CIE-LCHlch(42.78, 55.00, 129.18°)
OKLaboklab(49.52% -0.097 0.0945)
OKLCHoklch(49.52% 0.135 135.7)
XYZxyz(7.9470, 13.0144, 2.7550)
Luminance0.1301 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7214 #4B1472
analogous
#6A7214 #3B7214 #14721C
triadic
#3B7214 #143B72 #72143B
tetradic
#3B7214 #146A72 #4B1472 #721C14
square
#3B7214 #146A72 #4B1472 #721C14
split-complementary
#3B7214 #1C1472 #72146A
monochromatic
#0D1A05 #203E0B #3B7214 #56A61D #71D927

Accessibility & contrast

On white

5.83
#3B7214 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#3B7214 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B7214
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B7214#FFFFFF#000000##FFFFFF
##3B72141.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#6F631F
Tritanopia (blue-blind)
#396D61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3b7214;
/* rgb */ color: rgb(59, 114, 20);
/* oklch */ color: oklch(49.5% 0.135 135.7);
Tailwind
colors: {
  custom: {
    50: '#779b5a',
    500: '#3b7214',
    950: '#000000',
  },
}
SCSS
$custom: #3b7214;
$custom-light: #779b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7214",
  "rgb": {
    "r": 59,
    "g": 114,
    "b": 20
  },
  "hsl": {
    "h": 95.106,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49521,
    "c": 0.13542,
    "h": 135.7
  },
  "luminance": 0.13015
}

Semantic roles & 50–950 ramp

primary
#3B7214
secondary
#7A39A8
accent
#3BEDA3
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3B7214

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

Preview Lab → · Contrast checker → · Palette generator →

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