#3E6214#3E6214

#3E6214 is a mid, moderate yellow-green. Relative luminance 0.098; OKLCH L 45.2% C 0.112 H 131.6°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#3E6214
RGBrgb(62, 98, 20)
HSLhsl(88, 66%, 23%)
HSVhsv(88, 80%, 38%)
CMYKcmyk(36.7%, 0%, 79.6%, 61.6%)
CIE-LABlab(37.50, -26.33, 37.65)
CIE-LCHlch(37.50, 45.95, 124.97°)
OKLaboklab(45.23% -0.0745 0.084)
OKLCHoklch(45.23% 0.112 131.6)
XYZxyz(6.4805, 9.8098, 2.2137)
Luminance0.0981 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E6214 #381462
analogous
#625F14 #3E6214 #176214
triadic
#3E6214 #143E62 #62143E
tetradic
#3E6214 #14625F #381462 #621417
square
#3E6214 #14625F #381462 #621417
split-complementary
#3E6214 #141762 #5F1462
monochromatic
#101905 #1E2F0A #3E6214 #5E951E #7EC829

Accessibility & contrast

On white

7.09
#3E6214 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#3E6214 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E6214
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E6214#FFFFFF#000000##FFFFFF
##3E62141.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A04
Deuteranopia (green-blind)
#62571C
Tritanopia (blue-blind)
#3F5E53
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3e6214;
/* rgb */ color: rgb(62, 98, 20);
/* oklch */ color: oklch(45.2% 0.112 131.6);
Tailwind
colors: {
  custom: {
    50: '#778f58',
    500: '#3e6214',
    950: '#000000',
  },
}
SCSS
$custom: #3e6214;
$custom-light: #778f58;
$custom-dark: #000000;
JSON
{
  "hex": "#3e6214",
  "rgb": {
    "r": 62,
    "g": 98,
    "b": 20
  },
  "hsl": {
    "h": 87.692,
    "s": 66.102,
    "l": 23.137
  },
  "oklch": {
    "l": 0.45234,
    "c": 0.1123,
    "h": 131.6
  },
  "luminance": 0.0981
}

Semantic roles & 50–950 ramp

primary
#3E6214
secondary
#653899
accent
#3FE98D
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #3E6214

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

Preview Lab → · Contrast checker → · Palette generator →

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