#3F701B#3F701B

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

Color values

HEX#3F701B
RGBrgb(63, 112, 27)
HSLhsl(95, 61%, 27%)
HSVhsv(95, 76%, 44%)
CMYKcmyk(43.7%, 0%, 75.9%, 56.1%)
CIE-LABlab(42.34, -31.98, 39.73)
CIE-LCHlch(42.34, 51.00, 128.83°)
OKLaboklab(49.23% -0.0893 0.0895)
OKLCHoklch(49.23% 0.126 135)
XYZxyz(8.0417, 12.7238, 3.0689)
Luminance0.1272 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F701B #4C1B70
analogous
#6A701B #3F701B #1B7021
triadic
#3F701B #1B3F70 #701B3F
tetradic
#3F701B #1B6A70 #4C1B70 #70211B
square
#3F701B #1B6A70 #4C1B70 #70211B
split-complementary
#3F701B #211B70 #701B6A
monochromatic
#0E1906 #233F0F #3F701B #5BA127 #77CF37

Accessibility & contrast

On white

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

On black

3.54
#3F701B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3F701B#FFFFFF#000000##FFFFFF
##3F701B1.005.923.545.92
#FFFFFF5.921.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74660C
Deuteranopia (green-blind)
#6E6223
Tritanopia (blue-blind)
#3E6C5F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3f701b;
/* rgb */ color: rgb(63, 112, 27);
/* oklch */ color: oklch(49.2% 0.126 135.0);
Tailwind
colors: {
  custom: {
    50: '#79995e',
    500: '#3f701b',
    950: '#000000',
  },
}
SCSS
$custom: #3f701b;
$custom-light: #79995e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f701b",
  "rgb": {
    "r": 63,
    "g": 112,
    "b": 27
  },
  "hsl": {
    "h": 94.588,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.49225,
    "c": 0.12642,
    "h": 135
  },
  "luminance": 0.12724
}

Semantic roles & 50–950 ramp

primary
#3F701B
secondary
#7B42A5
accent
#44E4A0
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #3F701B

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

Preview Lab → · Contrast checker → · Palette generator →

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