#3E7B14#3E7B14

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

Color values

HEX#3E7B14
RGBrgb(62, 123, 20)
HSLhsl(96, 72%, 28%)
HSVhsv(96, 84%, 48%)
CMYKcmyk(49.6%, 0%, 83.7%, 51.8%)
CIE-LABlab(45.96, -37.54, 45.64)
CIE-LCHlch(45.96, 59.09, 129.44°)
OKLaboklab(52.17% -0.1047 0.1007)
OKLCHoklch(52.17% 0.145 136.1)
XYZxyz(9.1956, 15.2399, 3.1187)
Luminance0.1524 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7B14 #51147B
analogous
#717B14 #3E7B14 #147B1D
triadic
#3E7B14 #143E7B #7B143E
tetradic
#3E7B14 #14717B #51147B #7B1D14
square
#3E7B14 #14717B #51147B #7B1D14
split-complementary
#3E7B14 #1D147B #7B1471
monochromatic
#0D1A04 #23460B #3E7B14 #59B01D #74DD2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E7B14#FFFFFF#000000##FFFFFF
##3E7B141.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)
#786B20
Tritanopia (blue-blind)
#3B7668
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3e7b14;
/* rgb */ color: rgb(62, 123, 20);
/* oklch */ color: oklch(52.2% 0.145 136.1);
Tailwind
colors: {
  custom: {
    50: '#7aa25c',
    500: '#3e7b14',
    950: '#000000',
  },
}
SCSS
$custom: #3e7b14;
$custom-light: #7aa25c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7b14",
  "rgb": {
    "r": 62,
    "g": 123,
    "b": 20
  },
  "hsl": {
    "h": 95.534,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52168,
    "c": 0.1453,
    "h": 136.1
  },
  "luminance": 0.15241
}

Semantic roles & 50–950 ramp

primary
#3E7B14
secondary
#803AB1
accent
#39EFA5
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3E7B14

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

Preview Lab → · Contrast checker → · Palette generator →

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