#3E7F16#3E7F16

#3E7F16 is a mid, vivid yellow-green. Relative luminance 0.163; OKLCH L 53.3% C 0.149 H 136.7°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#3E7F16
RGBrgb(62, 127, 22)
HSLhsl(97, 70%, 29%)
HSVhsv(97, 83%, 50%)
CMYKcmyk(51.2%, 0%, 82.7%, 50.2%)
CIE-LABlab(47.31, -39.08, 46.27)
CIE-LCHlch(47.31, 60.57, 130.18°)
OKLaboklab(53.29% -0.1087 0.1024)
OKLCHoklch(53.29% 0.149 136.7)
XYZxyz(9.7205, 16.2601, 3.3852)
Luminance0.1626 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7F16 #57167F
analogous
#737F16 #3E7F16 #167F23
triadic
#3E7F16 #163E7F #7F163E
tetradic
#3E7F16 #16737F #57167F #7F2316
square
#3E7F16 #16737F #57167F #7F2316
split-complementary
#3E7F16 #23167F #7F1673
monochromatic
#0D1A05 #254B0D #3E7F16 #57B31F #74DC34

Accessibility & contrast

On white

4.94
#3E7F16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#3E7F16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7F16
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7F16#FFFFFF#000000##FFFFFF
##3E7F161.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7B6E22
Tritanopia (blue-blind)
#3A7A6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3e7f16;
/* rgb */ color: rgb(62, 127, 22);
/* oklch */ color: oklch(53.3% 0.149 136.7);
Tailwind
colors: {
  custom: {
    50: '#7ba55d',
    500: '#3e7f16',
    950: '#000000',
  },
}
SCSS
$custom: #3e7f16;
$custom-light: #7ba55d;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7f16",
  "rgb": {
    "r": 62,
    "g": 127,
    "b": 22
  },
  "hsl": {
    "h": 97.143,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53285,
    "c": 0.14934,
    "h": 136.7
  },
  "luminance": 0.16261
}

Semantic roles & 50–950 ramp

primary
#3E7F16
secondary
#873DB4
accent
#3BEDA9
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3E7F16

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

Preview Lab → · Contrast checker → · Palette generator →

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