#3E7214#3E7214

#3E7214 is a mid, vivid yellow-green. Relative luminance 0.131; OKLCH L 49.7% C 0.134 H 134.9°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#3E7214
RGBrgb(62, 114, 20)
HSLhsl(93, 70%, 26%)
HSVhsv(93, 82%, 45%)
CMYKcmyk(45.6%, 0%, 82.5%, 55.3%)
CIE-LABlab(42.93, -33.69, 42.82)
CIE-LCHlch(42.93, 54.49, 128.19°)
OKLaboklab(49.68% -0.0944 0.0948)
OKLCHoklch(49.68% 0.134 134.9)
XYZxyz(8.1300, 13.1088, 2.7635)
Luminance0.1311 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7214 #481472
analogous
#6D7214 #3E7214 #147219
triadic
#3E7214 #143E72 #72143E
tetradic
#3E7214 #146D72 #481472 #721914
square
#3E7214 #146D72 #481472 #721914
split-complementary
#3E7214 #191472 #72146D
monochromatic
#0E1A05 #223E0B #3E7214 #5AA61D #77D927

Accessibility & contrast

On white

5.80
#3E7214 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#3E7214 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7214
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7214#FFFFFF#000000##FFFFFF
##3E72141.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#70641F
Tritanopia (blue-blind)
#3D6D61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3e7214;
/* rgb */ color: rgb(62, 114, 20);
/* oklch */ color: oklch(49.7% 0.134 134.9);
Tailwind
colors: {
  custom: {
    50: '#799b5a',
    500: '#3e7214',
    950: '#000000',
  },
}
SCSS
$custom: #3e7214;
$custom-light: #799b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7214",
  "rgb": {
    "r": 62,
    "g": 114,
    "b": 20
  },
  "hsl": {
    "h": 93.191,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49676,
    "c": 0.13379,
    "h": 134.9
  },
  "luminance": 0.13109
}

Semantic roles & 50–950 ramp

primary
#3E7214
secondary
#7739A8
accent
#3BED9D
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3E7214

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

Preview Lab → · Contrast checker → · Palette generator →

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