#3F7919#3F7919

#3F7919 is a mid, vivid yellow-green. Relative luminance 0.148; OKLCH L 51.7% C 0.140 H 136.0°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#3F7919
RGBrgb(63, 121, 25)
HSLhsl(96, 66%, 29%)
HSVhsv(96, 79%, 47%)
CMYKcmyk(47.9%, 0%, 79.3%, 52.5%)
CIE-LABlab(45.36, -36.06, 43.44)
CIE-LCHlch(45.36, 56.46, 129.70°)
OKLaboklab(51.7% -0.1005 0.0969)
OKLCHoklch(51.7% 0.14 136)
XYZxyz(9.0625, 14.8011, 3.2989)
Luminance0.1480 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7919 #531979
analogous
#6F7919 #3F7919 #197923
triadic
#3F7919 #193F79 #79193F
tetradic
#3F7919 #196F79 #531979 #792319
square
#3F7919 #196F79 #531979 #792319
split-complementary
#3F7919 #231979 #79196F
monochromatic
#0D1905 #25460F #3F7919 #59AC23 #76D637

Accessibility & contrast

On white

5.30
#3F7919 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#3F7919 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7919
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7919#FFFFFF#000000##FFFFFF
##3F79191.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E03
Deuteranopia (green-blind)
#766A23
Tritanopia (blue-blind)
#3D7467
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3f7919;
/* rgb */ color: rgb(63, 121, 25);
/* oklch */ color: oklch(51.7% 0.140 136.0);
Tailwind
colors: {
  custom: {
    50: '#7aa05e',
    500: '#3f7919',
    950: '#000000',
  },
}
SCSS
$custom: #3f7919;
$custom-light: #7aa05e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7919",
  "rgb": {
    "r": 63,
    "g": 121,
    "b": 25
  },
  "hsl": {
    "h": 96.25,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51696,
    "c": 0.13961,
    "h": 136
  },
  "luminance": 0.14802
}

Semantic roles & 50–950 ramp

primary
#3F7919
secondary
#8240AE
accent
#3FE9A6
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0F05
muted
#7C7E79

Preview Lab

Preview with #3F7919

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

Preview Lab → · Contrast checker → · Palette generator →

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