#3F6214#3F6214

#3F6214 is a mid, moderate yellow-green. Relative luminance 0.098; OKLCH L 45.3% C 0.112 H 131.1°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#3F6214
RGBrgb(63, 98, 20)
HSLhsl(87, 66%, 23%)
HSVhsv(87, 80%, 38%)
CMYKcmyk(35.7%, 0%, 79.6%, 61.6%)
CIE-LABlab(37.56, -25.93, 37.73)
CIE-LCHlch(37.56, 45.78, 124.49°)
OKLaboklab(45.3% -0.0735 0.0841)
OKLCHoklch(45.3% 0.112 131.1)
XYZxyz(6.5438, 9.8424, 2.2167)
Luminance0.0984 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F6214 #371462
analogous
#625E14 #3F6214 #186214
triadic
#3F6214 #143F62 #62143F
tetradic
#3F6214 #14625E #371462 #621418
square
#3F6214 #14625E #371462 #621418
split-complementary
#3F6214 #141862 #5E1462
monochromatic
#101905 #1E2F0A #3F6214 #60951E #80C829

Accessibility & contrast

On white

7.07
#3F6214 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#3F6214 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F6214
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F6214#FFFFFF#000000##FFFFFF
##3F62141.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A04
Deuteranopia (green-blind)
#62571C
Tritanopia (blue-blind)
#405E53
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3f6214;
/* rgb */ color: rgb(63, 98, 20);
/* oklch */ color: oklch(45.3% 0.112 131.1);
Tailwind
colors: {
  custom: {
    50: '#788f58',
    500: '#3f6214',
    950: '#000000',
  },
}
SCSS
$custom: #3f6214;
$custom-light: #788f58;
$custom-dark: #000000;
JSON
{
  "hex": "#3f6214",
  "rgb": {
    "r": 63,
    "g": 98,
    "b": 20
  },
  "hsl": {
    "h": 86.923,
    "s": 66.102,
    "l": 23.137
  },
  "oklch": {
    "l": 0.45298,
    "c": 0.11172,
    "h": 131.1
  },
  "luminance": 0.09843
}

Semantic roles & 50–950 ramp

primary
#3F6214
secondary
#643899
accent
#3FE98B
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #3F6214

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

Preview Lab → · Contrast checker → · Palette generator →

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