#3F8314#3F8314

#3F8314 is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.4% C 0.155 H 136.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#3F8314
RGBrgb(63, 131, 20)
HSLhsl(97, 74%, 30%)
HSVhsv(97, 85%, 51%)
CMYKcmyk(51.9%, 0%, 84.7%, 48.6%)
CIE-LABlab(48.68, -40.49, 48.14)
CIE-LCHlch(48.68, 62.91, 130.07°)
OKLaboklab(54.42% -0.1127 0.106)
OKLCHoklch(54.42% 0.155 136.8)
XYZxyz(10.2922, 17.3391, 3.4661)
Luminance0.1734 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8314 #581483
analogous
#778314 #3F8314 #148321
triadic
#3F8314 #143F83 #83143F
tetradic
#3F8314 #147783 #581483 #832114
square
#3F8314 #147783 #581483 #832114
split-complementary
#3F8314 #211483 #831477
monochromatic
#0D1B04 #254E0C #3F8314 #59B81C #75E032

Accessibility & contrast

On white

4.70
#3F8314 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#3F8314 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F8314
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8314#FFFFFF#000000##FFFFFF
##3F83141.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#7F7222
Tritanopia (blue-blind)
#3B7E6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3f8314;
/* rgb */ color: rgb(63, 131, 20);
/* oklch */ color: oklch(54.4% 0.155 136.8);
Tailwind
colors: {
  custom: {
    50: '#7ca85d',
    500: '#3f8314',
    950: '#000000',
  },
}
SCSS
$custom: #3f8314;
$custom-light: #7ca85d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8314",
  "rgb": {
    "r": 63,
    "g": 131,
    "b": 20
  },
  "hsl": {
    "h": 96.757,
    "s": 73.51,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54421,
    "c": 0.1547,
    "h": 136.8
  },
  "luminance": 0.1734
}

Semantic roles & 50–950 ramp

primary
#3F8314
secondary
#873BB8
accent
#38F0A9
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3F8314

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

Preview Lab → · Contrast checker → · Palette generator →

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