#3E8310#3E8310

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

Color values

HEX#3E8310
RGBrgb(62, 131, 16)
HSLhsl(96, 78%, 29%)
HSVhsv(96, 88%, 51%)
CMYKcmyk(52.7%, 0%, 87.8%, 48.6%)
CIE-LABlab(48.63, -40.99, 49.13)
CIE-LCHlch(48.63, 63.98, 129.84°)
OKLaboklab(54.36% -0.1142 0.1075)
OKLCHoklch(54.36% 0.157 136.7)
XYZxyz(10.1961, 17.2934, 3.2908)
Luminance0.1729 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E8310 #551083
analogous
#788310 #3E8310 #10831C
triadic
#3E8310 #103E83 #83103E
tetradic
#3E8310 #107883 #551083 #831C10
square
#3E8310 #107883 #551083 #831C10
split-complementary
#3E8310 #1C1083 #831078
monochromatic
#0D1B03 #244C09 #3E8310 #58BA17 #74E529

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E8310#FFFFFF#000000##FFFFFF
##3E83101.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)
#7F7120
Tritanopia (blue-blind)
#3A7E6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3e8310;
/* rgb */ color: rgb(62, 131, 16);
/* oklch */ color: oklch(54.4% 0.157 136.7);
Tailwind
colors: {
  custom: {
    50: '#7ba85c',
    500: '#3e8310',
    950: '#000000',
  },
}
SCSS
$custom: #3e8310;
$custom-light: #7ba85c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e8310",
  "rgb": {
    "r": 62,
    "g": 131,
    "b": 16
  },
  "hsl": {
    "h": 96,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54358,
    "c": 0.1568,
    "h": 136.7
  },
  "luminance": 0.17294
}

Semantic roles & 50–950 ramp

primary
#3E8310
secondary
#8436B9
accent
#33F5A7
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3E8310

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

Preview Lab → · Contrast checker → · Palette generator →

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