#3E6814#3E6814

#3E6814 is a mid, vivid yellow-green. Relative luminance 0.110; OKLCH L 46.9% C 0.121 H 133.0°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#3E6814
RGBrgb(62, 104, 20)
HSLhsl(90, 68%, 24%)
HSVhsv(90, 81%, 41%)
CMYKcmyk(40.4%, 0%, 80.8%, 59.2%)
CIE-LABlab(39.54, -29.18, 39.62)
CIE-LCHlch(39.54, 49.20, 126.37°)
OKLaboklab(46.9% -0.0822 0.0881)
OKLCHoklch(46.9% 0.121 133)
XYZxyz(7.0631, 10.9749, 2.4079)
Luminance0.1098 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E6814 #3E1468
analogous
#686814 #3E6814 #146814
triadic
#3E6814 #143E68 #68143E
tetradic
#3E6814 #146868 #3E1468 #681414
square
#3E6814 #146868 #3E1468 #681414
split-complementary
#3E6814 #141468 #681468
monochromatic
#0F1A05 #1F350A #3E6814 #5D9B1E #7BCF28

Accessibility & contrast

On white

6.57
#3E6814 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#3E6814 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E6814
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E6814#FFFFFF#000000##FFFFFF
##3E68141.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F02
Deuteranopia (green-blind)
#675C1D
Tritanopia (blue-blind)
#3E6458
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3e6814;
/* rgb */ color: rgb(62, 104, 20);
/* oklch */ color: oklch(46.9% 0.121 133.0);
Tailwind
colors: {
  custom: {
    50: '#789359',
    500: '#3e6814',
    950: '#000000',
  },
}
SCSS
$custom: #3e6814;
$custom-light: #789359;
$custom-dark: #000000;
JSON
{
  "hex": "#3e6814",
  "rgb": {
    "r": 62,
    "g": 104,
    "b": 20
  },
  "hsl": {
    "h": 90,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.469,
    "c": 0.12051,
    "h": 133
  },
  "luminance": 0.10975
}

Semantic roles & 50–950 ramp

primary
#3E6814
secondary
#6C399F
accent
#3DEB94
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3E6814

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

Preview Lab → · Contrast checker → · Palette generator →

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