#3F6412#3F6412

#3F6412 is a mid, moderate yellow-green. Relative luminance 0.102; OKLCH L 45.8% C 0.116 H 131.5°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#3F6412
RGBrgb(63, 100, 18)
HSLhsl(87, 69%, 23%)
HSVhsv(87, 82%, 39%)
CMYKcmyk(37%, 0%, 82%, 60.8%)
CIE-LABlab(38.22, -27.02, 39.10)
CIE-LCHlch(38.22, 47.53, 124.64°)
OKLaboklab(45.84% -0.0766 0.0867)
OKLCHoklch(45.84% 0.116 131.5)
XYZxyz(6.7162, 10.2145, 2.1899)
Luminance0.1022 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F6412 #371264
analogous
#646012 #3F6412 #166412
triadic
#3F6412 #123F64 #64123F
tetradic
#3F6412 #126460 #371264 #641216
square
#3F6412 #126460 #371264 #641216
split-complementary
#3F6412 #121664 #601264
monochromatic
#101A05 #1E3009 #3F6412 #60981B #80CC25

Accessibility & contrast

On white

6.90
#3F6412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#3F6412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F6412
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F6412#FFFFFF#000000##FFFFFF
##3F64121.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C00
Deuteranopia (green-blind)
#64591B
Tritanopia (blue-blind)
#405F55
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3f6412;
/* rgb */ color: rgb(63, 100, 18);
/* oklch */ color: oklch(45.8% 0.116 131.5);
Tailwind
colors: {
  custom: {
    50: '#789057',
    500: '#3f6412',
    950: '#000000',
  },
}
SCSS
$custom: #3f6412;
$custom-light: #789057;
$custom-dark: #000000;
JSON
{
  "hex": "#3f6412",
  "rgb": {
    "r": 63,
    "g": 100,
    "b": 18
  },
  "hsl": {
    "h": 87.073,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.45838,
    "c": 0.11567,
    "h": 131.5
  },
  "luminance": 0.10215
}

Semantic roles & 50–950 ramp

primary
#3F6412
secondary
#64369C
accent
#3BEC8B
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #3F6412

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

Preview Lab → · Contrast checker → · Palette generator →

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