#3F5D12#3F5D12

#3F5D12 is a dark, moderate yellow-green. Relative luminance 0.089; OKLCH L 43.9% C 0.106 H 129.4°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#3F5D12
RGBrgb(63, 93, 18)
HSLhsl(84, 68%, 22%)
HSVhsv(84, 81%, 36%)
CMYKcmyk(32.3%, 0%, 80.6%, 63.5%)
CIE-LABlab(35.85, -23.58, 36.84)
CIE-LCHlch(35.85, 43.74, 122.63°)
OKLaboklab(43.9% -0.0673 0.0819)
OKLCHoklch(43.9% 0.106 129.4)
XYZxyz(6.0734, 8.9290, 1.9756)
Luminance0.0893 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5D12 #30125D
analogous
#5D5612 #3F5D12 #1A5D12
triadic
#3F5D12 #123F5D #5D123F
tetradic
#3F5D12 #125D56 #30125D #5D121A
square
#3F5D12 #125D56 #30125D #5D121A
split-complementary
#3F5D12 #121A5D #56125D
monochromatic
#111A05 #1C2A08 #3F5D12 #62901C #84C426

Accessibility & contrast

On white

7.54
#3F5D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#3F5D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F5D12
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5D12#FFFFFF#000000##FFFFFF
##3F5D121.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625603
Deuteranopia (green-blind)
#5E5419
Tritanopia (blue-blind)
#41594F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3f5d12;
/* rgb */ color: rgb(63, 93, 18);
/* oklch */ color: oklch(43.9% 0.106 129.4);
Tailwind
colors: {
  custom: {
    50: '#778b56',
    500: '#3f5d12',
    950: '#000000',
  },
}
SCSS
$custom: #3f5d12;
$custom-light: #778b56;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5d12",
  "rgb": {
    "r": 63,
    "g": 93,
    "b": 18
  },
  "hsl": {
    "h": 84,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.439,
    "c": 0.10602,
    "h": 129.4
  },
  "luminance": 0.08929
}

Semantic roles & 50–950 ramp

primary
#3F5D12
secondary
#5C3595
accent
#3DEA83
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #3F5D12

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

Preview Lab → · Contrast checker → · Palette generator →

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