#3E8117#3E8117

#3E8117 is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 53.8% C 0.151 H 137.0°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#3E8117
RGBrgb(62, 129, 23)
HSLhsl(98, 70%, 30%)
HSVhsv(98, 82%, 51%)
CMYKcmyk(51.9%, 0%, 82.2%, 49.4%)
CIE-LABlab(47.99, -39.84, 46.59)
CIE-LCHlch(47.99, 61.30, 130.54°)
OKLaboklab(53.84% -0.1107 0.1032)
OKLCHoklch(53.84% 0.151 137)
XYZxyz(9.9912, 16.7858, 3.5239)
Luminance0.1679 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E8117 #5A1781
analogous
#738117 #3E8117 #178125
triadic
#3E8117 #173E81 #81173E
tetradic
#3E8117 #177381 #5A1781 #812517
square
#3E8117 #177381 #5A1781 #812517
split-complementary
#3E8117 #251781 #811773
monochromatic
#0C1A05 #254D0E #3E8117 #57B520 #73DB37

Accessibility & contrast

On white

4.82
#3E8117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#3E8117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E8117
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E8117#FFFFFF#000000##FFFFFF
##3E81171.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867500
Deuteranopia (green-blind)
#7D7023
Tritanopia (blue-blind)
#3A7C6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3e8117;
/* rgb */ color: rgb(62, 129, 23);
/* oklch */ color: oklch(53.8% 0.151 137.0);
Tailwind
colors: {
  custom: {
    50: '#7ba65e',
    500: '#3e8117',
    950: '#000000',
  },
}
SCSS
$custom: #3e8117;
$custom-light: #7ba65e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e8117",
  "rgb": {
    "r": 62,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 97.925,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53842,
    "c": 0.15135,
    "h": 137
  },
  "luminance": 0.16787
}

Semantic roles & 50–950 ramp

primary
#3E8117
secondary
#8A3EB5
accent
#3BEDAB
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3E8117

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

Preview Lab → · Contrast checker → · Palette generator →

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