#3F8112#3F8112

#3F8112 is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 53.9% C 0.153 H 136.4°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#3F8112
RGBrgb(63, 129, 18)
HSLhsl(96, 76%, 29%)
HSVhsv(96, 86%, 51%)
CMYKcmyk(51.2%, 0%, 86%, 49.4%)
CIE-LABlab(48.01, -39.78, 48.08)
CIE-LCHlch(48.01, 62.40, 129.60°)
OKLaboklab(53.86% -0.1109 0.1056)
OKLCHoklch(53.86% 0.153 136.4)
XYZxyz(10.0091, 16.8002, 3.2875)
Luminance0.1680 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8112 #541281
analogous
#778112 #3F8112 #12811D
triadic
#3F8112 #123F81 #81123F
tetradic
#3F8112 #127781 #541281 #811D12
square
#3F8112 #127781 #541281 #811D12
split-complementary
#3F8112 #1D1281 #811277
monochromatic
#0D1B04 #254B0B #3F8112 #59B719 #76E22C

Accessibility & contrast

On white

4.82
#3F8112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#3F8112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F8112
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8112#FFFFFF#000000##FFFFFF
##3F81121.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867500
Deuteranopia (green-blind)
#7D7020
Tritanopia (blue-blind)
#3C7C6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3f8112;
/* rgb */ color: rgb(63, 129, 18);
/* oklch */ color: oklch(53.9% 0.153 136.4);
Tailwind
colors: {
  custom: {
    50: '#7ca65c',
    500: '#3f8112',
    950: '#000000',
  },
}
SCSS
$custom: #3f8112;
$custom-light: #7ca65c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8112",
  "rgb": {
    "r": 63,
    "g": 129,
    "b": 18
  },
  "hsl": {
    "h": 95.676,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53861,
    "c": 0.15309,
    "h": 136.4
  },
  "luminance": 0.16801
}

Semantic roles & 50–950 ramp

primary
#3F8112
secondary
#8338B7
accent
#36F2A6
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3F8112

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

Preview Lab → · Contrast checker → · Palette generator →

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