#3F6312#3F6312

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

Color values

HEX#3F6312
RGBrgb(63, 99, 18)
HSLhsl(87, 69%, 23%)
HSVhsv(87, 82%, 39%)
CMYKcmyk(36.4%, 0%, 81.8%, 61.2%)
CIE-LABlab(37.89, -26.53, 38.78)
CIE-LCHlch(37.89, 46.99, 124.38°)
OKLaboklab(45.56% -0.0753 0.086)
OKLCHoklch(45.56% 0.114 131.2)
XYZxyz(6.6209, 10.0239, 2.1581)
Luminance0.1002 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F6312 #361263
analogous
#635E12 #3F6312 #166312
triadic
#3F6312 #123F63 #63123F
tetradic
#3F6312 #12635E #361263 #631216
square
#3F6312 #12635E #361263 #631216
split-complementary
#3F6312 #121663 #5E1263
monochromatic
#101A05 #1E2F09 #3F6312 #60971B #81CB25

Accessibility & contrast

On white

6.99
#3F6312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#3F6312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F6312
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F6312#FFFFFF#000000##FFFFFF
##3F63121.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B01
Deuteranopia (green-blind)
#63581A
Tritanopia (blue-blind)
#405E54
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3f6312;
/* rgb */ color: rgb(63, 99, 18);
/* oklch */ color: oklch(45.6% 0.114 131.2);
Tailwind
colors: {
  custom: {
    50: '#788f57',
    500: '#3f6312',
    950: '#000000',
  },
}
SCSS
$custom: #3f6312;
$custom-light: #788f57;
$custom-dark: #000000;
JSON
{
  "hex": "#3f6312",
  "rgb": {
    "r": 63,
    "g": 99,
    "b": 18
  },
  "hsl": {
    "h": 86.667,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.45561,
    "c": 0.1143,
    "h": 131.2
  },
  "luminance": 0.10024
}

Semantic roles & 50–950 ramp

primary
#3F6312
secondary
#63369B
accent
#3CEC8A
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #3F6312

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

Preview Lab → · Contrast checker → · Palette generator →

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