#3F6A18#3F6A18

#3F6A18 is a mid, vivid yellow-green. Relative luminance 0.114; OKLCH L 47.5% C 0.120 H 133.5°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#3F6A18
RGBrgb(63, 106, 24)
HSLhsl(91, 63%, 25%)
HSVhsv(91, 77%, 42%)
CMYKcmyk(40.6%, 0%, 77.4%, 58.4%)
CIE-LABlab(40.30, -29.46, 38.87)
CIE-LCHlch(40.30, 48.77, 127.15°)
OKLaboklab(47.54% -0.0827 0.0872)
OKLCHoklch(47.54% 0.12 133.5)
XYZxyz(7.3687, 11.4304, 2.6820)
Luminance0.1143 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F6A18 #43186A
analogous
#686A18 #3F6A18 #186A1A
triadic
#3F6A18 #183F6A #6A183F
tetradic
#3F6A18 #18686A #43186A #6A1A18
square
#3F6A18 #18686A #43186A #6A1A18
split-complementary
#3F6A18 #1A186A #6A1868
monochromatic
#0F1906 #21380D #3F6A18 #5D9C23 #7ACE2F

Accessibility & contrast

On white

6.39
#3F6A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#3F6A18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F6A18
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F6A18#FFFFFF#000000##FFFFFF
##3F6A181.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6108
Deuteranopia (green-blind)
#695E20
Tritanopia (blue-blind)
#3F665A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3f6a18;
/* rgb */ color: rgb(63, 106, 24);
/* oklch */ color: oklch(47.5% 0.120 133.5);
Tailwind
colors: {
  custom: {
    50: '#78955b',
    500: '#3f6a18',
    950: '#000000',
  },
}
SCSS
$custom: #3f6a18;
$custom-light: #78955b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f6a18",
  "rgb": {
    "r": 63,
    "g": 106,
    "b": 24
  },
  "hsl": {
    "h": 91.463,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.47543,
    "c": 0.12019,
    "h": 133.5
  },
  "luminance": 0.11431
}

Semantic roles & 50–950 ramp

primary
#3F6A18
secondary
#713EA0
accent
#42E698
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3F6A18

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

Preview Lab → · Contrast checker → · Palette generator →

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