#3E8315#3E8315

#3E8315 is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.4% C 0.155 H 137.1°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#3E8315
RGBrgb(62, 131, 21)
HSLhsl(98, 72%, 30%)
HSVhsv(98, 84%, 51%)
CMYKcmyk(52.7%, 0%, 84%, 48.6%)
CIE-LABlab(48.65, -40.76, 47.80)
CIE-LCHlch(48.65, 62.82, 130.45°)
OKLaboklab(54.38% -0.1133 0.1054)
OKLCHoklch(54.38% 0.155 137.1)
XYZxyz(10.2379, 17.3101, 3.5110)
Luminance0.1731 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E8315 #5A1583
analogous
#758315 #3E8315 #158323
triadic
#3E8315 #153E83 #83153E
tetradic
#3E8315 #157583 #5A1583 #832315
square
#3E8315 #157583 #5A1583 #832315
split-complementary
#3E8315 #231583 #831575
monochromatic
#0C1A04 #254E0D #3E8315 #57B81D #74DE34

Accessibility & contrast

On white

4.71
#3E8315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#3E8315 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E8315
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E8315#FFFFFF#000000##FFFFFF
##3E83151.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#7F7123
Tritanopia (blue-blind)
#3A7E6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3e8315;
/* rgb */ color: rgb(62, 131, 21);
/* oklch */ color: oklch(54.4% 0.155 137.1);
Tailwind
colors: {
  custom: {
    50: '#7ba85e',
    500: '#3e8315',
    950: '#000000',
  },
}
SCSS
$custom: #3e8315;
$custom-light: #7ba85e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e8315",
  "rgb": {
    "r": 62,
    "g": 131,
    "b": 21
  },
  "hsl": {
    "h": 97.636,
    "s": 72.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54382,
    "c": 0.15476,
    "h": 137.1
  },
  "luminance": 0.17311
}

Semantic roles & 50–950 ramp

primary
#3E8315
secondary
#8A3CB8
accent
#39EFAB
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3E8315

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

Preview Lab → · Contrast checker → · Palette generator →

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