#3F5E12#3F5E12

#3F5E12 is a dark, moderate yellow-green. Relative luminance 0.091; OKLCH L 44.2% C 0.107 H 129.7°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#3F5E12
RGBrgb(63, 94, 18)
HSLhsl(84, 68%, 22%)
HSVhsv(84, 81%, 37%)
CMYKcmyk(33%, 0%, 80.9%, 63.1%)
CIE-LABlab(36.19, -24.08, 37.16)
CIE-LCHlch(36.19, 44.28, 122.95°)
OKLaboklab(44.18% -0.0687 0.0826)
OKLCHoklch(44.18% 0.107 129.7)
XYZxyz(6.1618, 9.1057, 2.0051)
Luminance0.0911 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5E12 #31125E
analogous
#5E5712 #3F5E12 #195E12
triadic
#3F5E12 #123F5E #5E123F
tetradic
#3F5E12 #125E57 #31125E #5E1219
square
#3F5E12 #125E57 #31125E #5E1219
split-complementary
#3F5E12 #12195E #57125E
monochromatic
#111A05 #1D2B08 #3F5E12 #61911C #84C526

Accessibility & contrast

On white

7.44
#3F5E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#3F5E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F5E12
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5E12#FFFFFF#000000##FFFFFF
##3F5E121.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635703
Deuteranopia (green-blind)
#5F541A
Tritanopia (blue-blind)
#415A50
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3f5e12;
/* rgb */ color: rgb(63, 94, 18);
/* oklch */ color: oklch(44.2% 0.107 129.7);
Tailwind
colors: {
  custom: {
    50: '#778c56',
    500: '#3f5e12',
    950: '#000000',
  },
}
SCSS
$custom: #3f5e12;
$custom-light: #778c56;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5e12",
  "rgb": {
    "r": 63,
    "g": 94,
    "b": 18
  },
  "hsl": {
    "h": 84.474,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.44177,
    "c": 0.10741,
    "h": 129.7
  },
  "luminance": 0.09106
}

Semantic roles & 50–950 ramp

primary
#3F5E12
secondary
#5D3596
accent
#3DEB84
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #3F5E12

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

Preview Lab → · Contrast checker → · Palette generator →

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