#3F6318#3F6318

#3F6318 is a mid, moderate yellow-green. Relative luminance 0.100; OKLCH L 45.6% C 0.110 H 131.9°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#3F6318
RGBrgb(63, 99, 24)
HSLhsl(89, 61%, 24%)
HSVhsv(89, 76%, 39%)
CMYKcmyk(36.4%, 0%, 75.8%, 61.2%)
CIE-LABlab(37.92, -26.13, 36.50)
CIE-LCHlch(37.92, 44.89, 125.60°)
OKLaboklab(45.61% -0.0737 0.0822)
OKLCHoklch(45.61% 0.11 131.9)
XYZxyz(6.6765, 10.0461, 2.4513)
Luminance0.1005 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F6318 #3C1863
analogous
#636218 #3F6318 #1A6318
triadic
#3F6318 #183F63 #63183F
tetradic
#3F6318 #186362 #3C1863 #63181A
square
#3F6318 #186362 #3C1863 #63181A
split-complementary
#3F6318 #181A63 #621863
monochromatic
#101906 #20320C #3F6318 #5E9424 #7EC630

Accessibility & contrast

On white

6.98
#3F6318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#3F6318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F6318
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F6318#FFFFFF#000000##FFFFFF
##3F63181.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B0B
Deuteranopia (green-blind)
#63581F
Tritanopia (blue-blind)
#405F54
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3f6318;
/* rgb */ color: rgb(63, 99, 24);
/* oklch */ color: oklch(45.6% 0.110 131.9);
Tailwind
colors: {
  custom: {
    50: '#778f5a',
    500: '#3f6318',
    950: '#000000',
  },
}
SCSS
$custom: #3f6318;
$custom-light: #778f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f6318",
  "rgb": {
    "r": 63,
    "g": 99,
    "b": 24
  },
  "hsl": {
    "h": 88.8,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45606,
    "c": 0.11043,
    "h": 131.9
  },
  "luminance": 0.10046
}

Semantic roles & 50–950 ramp

primary
#3F6318
secondary
#6A3E99
accent
#44E491
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #3F6318

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

Preview Lab → · Contrast checker → · Palette generator →

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