#3F7A19#3F7A19

#3F7A19 is a mid, vivid yellow-green. Relative luminance 0.150; OKLCH L 52.0% C 0.141 H 136.2°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#3F7A19
RGBrgb(63, 122, 25)
HSLhsl(96, 66%, 29%)
HSVhsv(96, 80%, 48%)
CMYKcmyk(48.4%, 0%, 79.5%, 52.2%)
CIE-LABlab(45.70, -36.49, 43.77)
CIE-LCHlch(45.70, 56.98, 129.82°)
OKLaboklab(51.97% -0.1016 0.0976)
OKLCHoklch(51.97% 0.141 136.2)
XYZxyz(9.1847, 15.0454, 3.3396)
Luminance0.1505 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7A19 #54197A
analogous
#707A19 #3F7A19 #197A24
triadic
#3F7A19 #193F7A #7A193F
tetradic
#3F7A19 #19707A #54197A #7A2419
square
#3F7A19 #19707A #54197A #7A2419
split-complementary
#3F7A19 #24197A #7A1970
monochromatic
#0D1905 #25470F #3F7A19 #59AD23 #76D637

Accessibility & contrast

On white

5.24
#3F7A19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#3F7A19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7A19
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7A19#FFFFFF#000000##FFFFFF
##3F7A191.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F02
Deuteranopia (green-blind)
#776A23
Tritanopia (blue-blind)
#3C7568
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3f7a19;
/* rgb */ color: rgb(63, 122, 25);
/* oklch */ color: oklch(52.0% 0.141 136.2);
Tailwind
colors: {
  custom: {
    50: '#7aa15e',
    500: '#3f7a19',
    950: '#000000',
  },
}
SCSS
$custom: #3f7a19;
$custom-light: #7aa15e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7a19",
  "rgb": {
    "r": 63,
    "g": 122,
    "b": 25
  },
  "hsl": {
    "h": 96.495,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51972,
    "c": 0.14091,
    "h": 136.2
  },
  "luminance": 0.15046
}

Semantic roles & 50–950 ramp

primary
#3F7A19
secondary
#8340AF
accent
#3FE9A6
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0F05
muted
#7C7E79

Preview Lab

Preview with #3F7A19

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

Preview Lab → · Contrast checker → · Palette generator →

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