#3E7B16#3E7B16

#3E7B16 is a mid, vivid yellow-green. Relative luminance 0.152; OKLCH L 52.2% C 0.144 H 136.3°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#3E7B16
RGBrgb(62, 123, 22)
HSLhsl(96, 70%, 28%)
HSVhsv(96, 82%, 48%)
CMYKcmyk(49.6%, 0%, 82.1%, 51.8%)
CIE-LABlab(45.97, -37.43, 45.02)
CIE-LCHlch(45.97, 58.55, 129.74°)
OKLaboklab(52.18% -0.1043 0.0998)
OKLCHoklch(52.18% 0.144 136.3)
XYZxyz(9.2141, 15.2474, 3.2164)
Luminance0.1525 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7B16 #53167B
analogous
#707B16 #3E7B16 #167B21
triadic
#3E7B16 #163E7B #7B163E
tetradic
#3E7B16 #16707B #53167B #7B2116
square
#3E7B16 #16707B #53167B #7B2116
split-complementary
#3E7B16 #21167B #7B1670
monochromatic
#0D1A05 #24470D #3E7B16 #58AF1F #74DA31

Accessibility & contrast

On white

5.19
#3E7B16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#3E7B16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7B16
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7B16#FFFFFF#000000##FFFFFF
##3E7B161.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#786B22
Tritanopia (blue-blind)
#3B7668
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3e7b16;
/* rgb */ color: rgb(62, 123, 22);
/* oklch */ color: oklch(52.2% 0.144 136.3);
Tailwind
colors: {
  custom: {
    50: '#7aa25d',
    500: '#3e7b16',
    950: '#000000',
  },
}
SCSS
$custom: #3e7b16;
$custom-light: #7aa25d;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7b16",
  "rgb": {
    "r": 62,
    "g": 123,
    "b": 22
  },
  "hsl": {
    "h": 96.238,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5218,
    "c": 0.14432,
    "h": 136.3
  },
  "luminance": 0.15248
}

Semantic roles & 50–950 ramp

primary
#3E7B16
secondary
#823DB0
accent
#3BECA6
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3E7B16

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

Preview Lab → · Contrast checker → · Palette generator →

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