#3F4F18#3F4F18

#3F4F18 is a dark, moderate yellow-green. Relative luminance 0.067; OKLCH L 40.1% C 0.081 H 123.9°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#3F4F18
RGBrgb(63, 79, 24)
HSLhsl(77, 53%, 20%)
HSVhsv(77, 70%, 31%)
CMYKcmyk(20.3%, 0%, 69.6%, 69%)
CIE-LABlab(31.15, -15.74, 29.45)
CIE-LCHlch(31.15, 33.39, 118.13°)
OKLaboklab(40.11% -0.0452 0.0674)
OKLCHoklch(40.11% 0.081 123.9)
XYZxyz(5.0108, 6.7146, 1.8960)
Luminance0.0672 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4F18 #28184F
analogous
#4F4418 #3F4F18 #234F18
triadic
#3F4F18 #183F4F #4F183F
tetradic
#3F4F18 #184F44 #28184F #4F1823
square
#3F4F18 #184F44 #28184F #4F1823
split-complementary
#3F4F18 #18234F #44184F
monochromatic
#131707 #1A200A #3F4F18 #647E26 #8AAD35

Accessibility & contrast

On white

8.96
#3F4F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#3F4F18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4F18
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4F18#FFFFFF#000000##FFFFFF
##3F4F181.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A11
Deuteranopia (green-blind)
#52491C
Tritanopia (blue-blind)
#424B44
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3f4f18;
/* rgb */ color: rgb(63, 79, 24);
/* oklch */ color: oklch(40.1% 0.081 123.9);
Tailwind
colors: {
  custom: {
    50: '#768058',
    500: '#3f4f18',
    950: '#000000',
  },
}
SCSS
$custom: #3f4f18;
$custom-light: #768058;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4f18",
  "rgb": {
    "r": 63,
    "g": 79,
    "b": 24
  },
  "hsl": {
    "h": 77.455,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40106,
    "c": 0.08117,
    "h": 123.9
  },
  "luminance": 0.06715
}

Semantic roles & 50–950 ramp

primary
#3F4F18
secondary
#523D86
accent
#4BDD75
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #3F4F18

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

Preview Lab → · Contrast checker → · Palette generator →

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