#3F4E18#3F4E18

#3F4E18 is a dark, moderate yellow-green. Relative luminance 0.066; OKLCH L 39.8% C 0.080 H 123.2°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#3F4E18
RGBrgb(63, 78, 24)
HSLhsl(77, 53%, 20%)
HSVhsv(77, 69%, 31%)
CMYKcmyk(19.2%, 0%, 69.2%, 69.4%)
CIE-LABlab(30.81, -15.19, 29.09)
CIE-LCHlch(30.81, 32.81, 117.57°)
OKLaboklab(39.83% -0.0437 0.0666)
OKLCHoklch(39.83% 0.08 123.2)
XYZxyz(4.9392, 6.5715, 1.8722)
Luminance0.0657 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4E18 #27184E
analogous
#4E4218 #3F4E18 #244E18
triadic
#3F4E18 #183F4E #4E183F
tetradic
#3F4E18 #184E42 #27184E #4E1824
square
#3F4E18 #184E42 #27184E #4E1824
split-complementary
#3F4E18 #18244E #42184E
monochromatic
#131707 #191F0A #3F4E18 #657D26 #8BAC35

Accessibility & contrast

On white

9.07
#3F4E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#3F4E18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4E18
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4E18#FFFFFF#000000##FFFFFF
##3F4E181.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534911
Deuteranopia (green-blind)
#51481C
Tritanopia (blue-blind)
#424A43
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3f4e18;
/* rgb */ color: rgb(63, 78, 24);
/* oklch */ color: oklch(39.8% 0.080 123.2);
Tailwind
colors: {
  custom: {
    50: '#767f58',
    500: '#3f4e18',
    950: '#000000',
  },
}
SCSS
$custom: #3f4e18;
$custom-light: #767f58;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4e18",
  "rgb": {
    "r": 63,
    "g": 78,
    "b": 24
  },
  "hsl": {
    "h": 76.667,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.39834,
    "c": 0.07968,
    "h": 123.2
  },
  "luminance": 0.06571
}

Semantic roles & 50–950 ramp

primary
#3F4E18
secondary
#513D85
accent
#4BDC74
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3F4E18

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

Preview Lab → · Contrast checker → · Palette generator →

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