#3E8214#3E8214

#3E8214 is a mid, vivid yellow-green. Relative luminance 0.170; OKLCH L 54.1% C 0.154 H 136.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#3E8214
RGBrgb(62, 130, 20)
HSLhsl(97, 73%, 29%)
HSVhsv(97, 85%, 51%)
CMYKcmyk(52.3%, 0%, 84.6%, 49%)
CIE-LABlab(48.31, -40.41, 47.78)
CIE-LCHlch(48.31, 62.58, 130.22°)
OKLaboklab(54.1% -0.1124 0.1053)
OKLCHoklch(54.1% 0.154 136.9)
XYZxyz(10.0952, 17.0392, 3.4186)
Luminance0.1704 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E8214 #581482
analogous
#758214 #3E8214 #148221
triadic
#3E8214 #143E82 #82143E
tetradic
#3E8214 #147582 #581482 #822114
square
#3E8214 #147582 #581482 #822114
split-complementary
#3E8214 #211482 #821475
monochromatic
#0D1B04 #254D0C #3E8214 #57B71C #74DF31

Accessibility & contrast

On white

4.76
#3E8214 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#3E8214 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E8214
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E8214#FFFFFF#000000##FFFFFF
##3E82141.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#7E7122
Tritanopia (blue-blind)
#3A7D6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3e8214;
/* rgb */ color: rgb(62, 130, 20);
/* oklch */ color: oklch(54.1% 0.154 136.9);
Tailwind
colors: {
  custom: {
    50: '#7ba75d',
    500: '#3e8214',
    950: '#000000',
  },
}
SCSS
$custom: #3e8214;
$custom-light: #7ba75d;
$custom-dark: #000000;
JSON
{
  "hex": "#3e8214",
  "rgb": {
    "r": 62,
    "g": 130,
    "b": 20
  },
  "hsl": {
    "h": 97.091,
    "s": 73.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54101,
    "c": 0.15398,
    "h": 136.9
  },
  "luminance": 0.1704
}

Semantic roles & 50–950 ramp

primary
#3E8214
secondary
#883BB7
accent
#38F0AA
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3E8214

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

Preview Lab → · Contrast checker → · Palette generator →

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