#3E7213#3E7213

#3E7213 is a mid, vivid yellow-green. Relative luminance 0.131; OKLCH L 49.7% C 0.134 H 134.8°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#3E7213
RGBrgb(62, 114, 19)
HSLhsl(93, 71%, 26%)
HSVhsv(93, 83%, 45%)
CMYKcmyk(45.6%, 0%, 83.3%, 55.3%)
CIE-LABlab(42.92, -33.75, 43.14)
CIE-LCHlch(42.92, 54.77, 128.03°)
OKLaboklab(49.67% -0.0946 0.0953)
OKLCHoklch(49.67% 0.134 134.8)
XYZxyz(8.1213, 13.1053, 2.7176)
Luminance0.1311 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7213 #471372
analogous
#6D7213 #3E7213 #137217
triadic
#3E7213 #133E72 #72133E
tetradic
#3E7213 #136D72 #471372 #721713
square
#3E7213 #136D72 #471372 #721713
split-complementary
#3E7213 #171372 #72136D
monochromatic
#0E1A04 #213E0A #3E7213 #5BA61C #77DB25

Accessibility & contrast

On white

5.80
#3E7213 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#3E7213 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7213
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7213#FFFFFF#000000##FFFFFF
##3E72131.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#70641E
Tritanopia (blue-blind)
#3D6D61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3e7213;
/* rgb */ color: rgb(62, 114, 19);
/* oklch */ color: oklch(49.7% 0.134 134.8);
Tailwind
colors: {
  custom: {
    50: '#799b5a',
    500: '#3e7213',
    950: '#000000',
  },
}
SCSS
$custom: #3e7213;
$custom-light: #799b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7213",
  "rgb": {
    "r": 62,
    "g": 114,
    "b": 19
  },
  "hsl": {
    "h": 92.842,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.4967,
    "c": 0.13429,
    "h": 134.8
  },
  "luminance": 0.13106
}

Semantic roles & 50–950 ramp

primary
#3E7213
secondary
#7638A9
accent
#3AEE9C
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3E7213

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

Preview Lab → · Contrast checker → · Palette generator →

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