#3F6018#3F6018

#3F6018 is a dark, moderate yellow-green. Relative luminance 0.095; OKLCH L 44.8% C 0.106 H 131.0°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#3F6018
RGBrgb(63, 96, 24)
HSLhsl(88, 60%, 24%)
HSVhsv(88, 75%, 38%)
CMYKcmyk(34.4%, 0%, 75%, 62.4%)
CIE-LABlab(36.91, -24.66, 35.47)
CIE-LCHlch(36.91, 43.20, 124.81°)
OKLaboklab(44.78% -0.0697 0.0801)
OKLCHoklch(44.78% 0.106 131)
XYZxyz(6.3976, 9.4882, 2.3583)
Luminance0.0949 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F6018 #391860
analogous
#605D18 #3F6018 #1B6018
triadic
#3F6018 #183F60 #60183F
tetradic
#3F6018 #18605D #391860 #60181B
square
#3F6018 #18605D #391860 #60181B
split-complementary
#3F6018 #181B60 #5D1860
monochromatic
#101806 #1F2F0C #3F6018 #5F9124 #7FC230

Accessibility & contrast

On white

7.25
#3F6018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#3F6018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F6018
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F6018#FFFFFF#000000##FFFFFF
##3F60181.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65580C
Deuteranopia (green-blind)
#60561E
Tritanopia (blue-blind)
#405C52
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3f6018;
/* rgb */ color: rgb(63, 96, 24);
/* oklch */ color: oklch(44.8% 0.106 131.0);
Tailwind
colors: {
  custom: {
    50: '#778d5a',
    500: '#3f6018',
    950: '#000000',
  },
}
SCSS
$custom: #3f6018;
$custom-light: #778d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f6018",
  "rgb": {
    "r": 63,
    "g": 96,
    "b": 24
  },
  "hsl": {
    "h": 87.5,
    "s": 60,
    "l": 23.529
  },
  "oklch": {
    "l": 0.44777,
    "c": 0.10616,
    "h": 131
  },
  "luminance": 0.09488
}

Semantic roles & 50–950 ramp

primary
#3F6018
secondary
#663D96
accent
#45E38D
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #3F6018

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

Preview Lab → · Contrast checker → · Palette generator →

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