#3F701C#3F701C

#3F701C is a mid, vivid yellow-green. Relative luminance 0.127; OKLCH L 49.2% C 0.126 H 135.1°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#3F701C
RGBrgb(63, 112, 28)
HSLhsl(95, 60%, 27%)
HSVhsv(95, 75%, 44%)
CMYKcmyk(43.7%, 0%, 75%, 56.1%)
CIE-LABlab(42.35, -31.90, 39.33)
CIE-LCHlch(42.35, 50.65, 129.05°)
OKLaboklab(49.23% -0.089 0.0888)
OKLCHoklch(49.23% 0.126 135.1)
XYZxyz(8.0535, 12.7285, 3.1309)
Luminance0.1273 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F701C #4D1C70
analogous
#69701C #3F701C #1C7023
triadic
#3F701C #1C3F70 #701C3F
tetradic
#3F701C #1C6970 #4D1C70 #70231C
square
#3F701C #1C6970 #4D1C70 #70231C
split-complementary
#3F701C #231C70 #701C69
monochromatic
#0E1806 #233F10 #3F701C #5BA128 #77CD39

Accessibility & contrast

On white

5.92
#3F701C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#3F701C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F701C
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F701C#FFFFFF#000000##FFFFFF
##3F701C1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74660E
Deuteranopia (green-blind)
#6E6224
Tritanopia (blue-blind)
#3E6C60
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3f701c;
/* rgb */ color: rgb(63, 112, 28);
/* oklch */ color: oklch(49.2% 0.126 135.1);
Tailwind
colors: {
  custom: {
    50: '#79995e',
    500: '#3f701c',
    950: '#000000',
  },
}
SCSS
$custom: #3f701c;
$custom-light: #79995e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f701c",
  "rgb": {
    "r": 63,
    "g": 112,
    "b": 28
  },
  "hsl": {
    "h": 95,
    "s": 60,
    "l": 27.451
  },
  "oklch": {
    "l": 0.49234,
    "c": 0.12575,
    "h": 135.1
  },
  "luminance": 0.12729
}

Semantic roles & 50–950 ramp

primary
#3F701C
secondary
#7C43A5
accent
#45E3A1
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #3F701C

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

Preview Lab → · Contrast checker → · Palette generator →

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