#3F7B14#3F7B14

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

Color values

HEX#3F7B14
RGBrgb(63, 123, 20)
HSLhsl(95, 72%, 28%)
HSVhsv(95, 84%, 48%)
CMYKcmyk(48.8%, 0%, 83.7%, 51.8%)
CIE-LABlab(46.01, -37.20, 45.69)
CIE-LCHlch(46.01, 58.92, 129.15°)
OKLaboklab(52.22% -0.1039 0.1008)
OKLCHoklch(52.22% 0.145 135.9)
XYZxyz(9.2589, 15.2726, 3.1217)
Luminance0.1527 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7B14 #50147B
analogous
#727B14 #3F7B14 #147B1C
triadic
#3F7B14 #143F7B #7B143F
tetradic
#3F7B14 #14727B #50147B #7B1C14
square
#3F7B14 #14727B #50147B #7B1C14
split-complementary
#3F7B14 #1C147B #7B1472
monochromatic
#0D1A04 #24460B #3F7B14 #5AB01D #76DD2D

Accessibility & contrast

On white

5.18
#3F7B14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3F7B14
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7B14#FFFFFF#000000##FFFFFF
##3F7B141.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f7b14;
/* rgb */ color: rgb(63, 123, 20);
/* oklch */ color: oklch(52.2% 0.145 135.9);
Tailwind
colors: {
  custom: {
    50: '#7ba25c',
    500: '#3f7b14',
    950: '#000000',
  },
}
SCSS
$custom: #3f7b14;
$custom-light: #7ba25c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7b14",
  "rgb": {
    "r": 63,
    "g": 123,
    "b": 20
  },
  "hsl": {
    "h": 94.951,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52217,
    "c": 0.14477,
    "h": 135.9
  },
  "luminance": 0.15273
}

Semantic roles & 50–950 ramp

primary
#3F7B14
secondary
#7F3AB1
accent
#39EFA3
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3F7B14

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

Preview Lab → · Contrast checker → · Palette generator →

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