#3F8214#3F8214

#3F8214 is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.1% C 0.153 H 136.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#3F8214
RGBrgb(63, 130, 20)
HSLhsl(97, 73%, 29%)
HSVhsv(97, 85%, 51%)
CMYKcmyk(51.5%, 0%, 84.6%, 49%)
CIE-LABlab(48.35, -40.09, 47.84)
CIE-LCHlch(48.35, 62.41, 129.96°)
OKLaboklab(54.15% -0.1116 0.1053)
OKLCHoklch(54.15% 0.153 136.7)
XYZxyz(10.1585, 17.0718, 3.4216)
Luminance0.1707 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8214 #571482
analogous
#768214 #3F8214 #148220
triadic
#3F8214 #143F82 #82143F
tetradic
#3F8214 #147682 #571482 #822014
square
#3F8214 #147682 #571482 #822014
split-complementary
#3F8214 #201482 #821476
monochromatic
#0D1B04 #254D0C #3F8214 #59B71C #75DF31

Accessibility & contrast

On white

4.76
#3F8214 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#3F8214 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F8214
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8214#FFFFFF#000000##FFFFFF
##3F82141.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#7E7122
Tritanopia (blue-blind)
#3B7D6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3f8214;
/* rgb */ color: rgb(63, 130, 20);
/* oklch */ color: oklch(54.1% 0.153 136.7);
Tailwind
colors: {
  custom: {
    50: '#7ca75d',
    500: '#3f8214',
    950: '#000000',
  },
}
SCSS
$custom: #3f8214;
$custom-light: #7ca75d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8214",
  "rgb": {
    "r": 63,
    "g": 130,
    "b": 20
  },
  "hsl": {
    "h": 96.545,
    "s": 73.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54146,
    "c": 0.15347,
    "h": 136.7
  },
  "luminance": 0.17073
}

Semantic roles & 50–950 ramp

primary
#3F8214
secondary
#863BB7
accent
#38F0A8
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3F8214

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

Preview Lab → · Contrast checker → · Palette generator →

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