#3F7512#3F7512

#3F7512 is a mid, vivid yellow-green. Relative luminance 0.138; OKLCH L 50.5% C 0.138 H 134.9°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#3F7512
RGBrgb(63, 117, 18)
HSLhsl(93, 73%, 26%)
HSVhsv(93, 85%, 46%)
CMYKcmyk(46.2%, 0%, 84.6%, 54.1%)
CIE-LABlab(43.98, -34.75, 44.44)
CIE-LCHlch(43.98, 56.41, 128.03°)
OKLaboklab(50.55% -0.0974 0.0979)
OKLCHoklch(50.55% 0.138 134.9)
XYZxyz(8.5202, 13.8225, 2.7912)
Luminance0.1382 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7512 #481275
analogous
#717512 #3F7512 #127517
triadic
#3F7512 #123F75 #75123F
tetradic
#3F7512 #127175 #481275 #751712
square
#3F7512 #127175 #481275 #751712
split-complementary
#3F7512 #171275 #751271
monochromatic
#0E1B04 #22400A #3F7512 #5CAA1A #78DD24

Accessibility & contrast

On white

5.58
#3F7512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#3F7512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7512
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7512#FFFFFF#000000##FFFFFF
##3F75121.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#73661E
Tritanopia (blue-blind)
#3E7063
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3f7512;
/* rgb */ color: rgb(63, 117, 18);
/* oklch */ color: oklch(50.5% 0.138 134.9);
Tailwind
colors: {
  custom: {
    50: '#7a9d5a',
    500: '#3f7512',
    950: '#000000',
  },
}
SCSS
$custom: #3f7512;
$custom-light: #7a9d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7512",
  "rgb": {
    "r": 63,
    "g": 117,
    "b": 18
  },
  "hsl": {
    "h": 92.727,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.50548,
    "c": 0.1381,
    "h": 134.9
  },
  "luminance": 0.13823
}

Semantic roles & 50–950 ramp

primary
#3F7512
secondary
#7737AC
accent
#38F09C
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #3F7512

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

Preview Lab → · Contrast checker → · Palette generator →

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