#3E7D19#3E7D19

#3E7D19 is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 52.8% C 0.145 H 136.8°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#3E7D19
RGBrgb(62, 125, 25)
HSLhsl(98, 67%, 29%)
HSVhsv(98, 80%, 49%)
CMYKcmyk(50.4%, 0%, 80%, 51%)
CIE-LABlab(46.66, -38.08, 44.68)
CIE-LCHlch(46.66, 58.70, 130.44°)
OKLaboklab(52.75% -0.1058 0.0995)
OKLCHoklch(52.75% 0.145 136.8)
XYZxyz(9.4954, 15.7609, 3.4613)
Luminance0.1576 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7D19 #58197D
analogous
#707D19 #3E7D19 #197D26
triadic
#3E7D19 #193E7D #7D193E
tetradic
#3E7D19 #19707D #58197D #7D2619
square
#3E7D19 #19707D #58197D #7D2619
split-complementary
#3E7D19 #26197D #7D1970
monochromatic
#0D1A05 #254A0F #3E7D19 #57B023 #74D739

Accessibility & contrast

On white

5.06
#3E7D19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#3E7D19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7D19
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7D19#FFFFFF#000000##FFFFFF
##3E7D191.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817201
Deuteranopia (green-blind)
#796D24
Tritanopia (blue-blind)
#3A786A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3e7d19;
/* rgb */ color: rgb(62, 125, 25);
/* oklch */ color: oklch(52.8% 0.145 136.8);
Tailwind
colors: {
  custom: {
    50: '#7aa35e',
    500: '#3e7d19',
    950: '#000000',
  },
}
SCSS
$custom: #3e7d19;
$custom-light: #7aa35e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7d19",
  "rgb": {
    "r": 62,
    "g": 125,
    "b": 25
  },
  "hsl": {
    "h": 97.8,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52751,
    "c": 0.14528,
    "h": 136.8
  },
  "luminance": 0.15762
}

Semantic roles & 50–950 ramp

primary
#3E7D19
secondary
#8840B1
accent
#3EEAAA
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3E7D19

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

Preview Lab → · Contrast checker → · Palette generator →

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