#3F7D19#3F7D19

#3F7D19 is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 52.8% C 0.145 H 136.5°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#3F7D19
RGBrgb(63, 125, 25)
HSLhsl(97, 67%, 29%)
HSVhsv(97, 80%, 49%)
CMYKcmyk(49.6%, 0%, 80%, 51%)
CIE-LABlab(46.70, -37.75, 44.73)
CIE-LCHlch(46.70, 58.53, 130.16°)
OKLaboklab(52.8% -0.105 0.0996)
OKLCHoklch(52.8% 0.145 136.5)
XYZxyz(9.5587, 15.7935, 3.4643)
Luminance0.1579 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7D19 #57197D
analogous
#717D19 #3F7D19 #197D25
triadic
#3F7D19 #193F7D #7D193F
tetradic
#3F7D19 #19717D #57197D #7D2519
square
#3F7D19 #19717D #57197D #7D2519
split-complementary
#3F7D19 #25197D #7D1971
monochromatic
#0D1A05 #254A0F #3F7D19 #59B023 #75D739

Accessibility & contrast

On white

5.05
#3F7D19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#3F7D19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7D19
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7D19#FFFFFF#000000##FFFFFF
##3F7D191.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827201
Deuteranopia (green-blind)
#796D24
Tritanopia (blue-blind)
#3C786A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3f7d19;
/* rgb */ color: rgb(63, 125, 25);
/* oklch */ color: oklch(52.8% 0.145 136.5);
Tailwind
colors: {
  custom: {
    50: '#7ba35e',
    500: '#3f7d19',
    950: '#000000',
  },
}
SCSS
$custom: #3f7d19;
$custom-light: #7ba35e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7d19",
  "rgb": {
    "r": 63,
    "g": 125,
    "b": 25
  },
  "hsl": {
    "h": 97.2,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52798,
    "c": 0.14476,
    "h": 136.5
  },
  "luminance": 0.15794
}

Semantic roles & 50–950 ramp

primary
#3F7D19
secondary
#8640B1
accent
#3EEAA8
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3F7D19

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

Preview Lab → · Contrast checker → · Palette generator →

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