#3F7D18#3F7D18

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

Color values

HEX#3F7D18
RGBrgb(63, 125, 24)
HSLhsl(97, 68%, 29%)
HSVhsv(97, 81%, 49%)
CMYKcmyk(49.6%, 0%, 80.8%, 51%)
CIE-LABlab(46.70, -37.81, 45.07)
CIE-LCHlch(46.70, 58.83, 130.00°)
OKLaboklab(52.79% -0.1053 0.1002)
OKLCHoklch(52.79% 0.145 136.4)
XYZxyz(9.5481, 15.7893, 3.4085)
Luminance0.1579 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7D18 #56187D
analogous
#727D18 #3F7D18 #187D24
triadic
#3F7D18 #183F7D #7D183F
tetradic
#3F7D18 #18727D #56187D #7D2418
square
#3F7D18 #18727D #56187D #7D2418
split-complementary
#3F7D18 #24187D #7D1872
monochromatic
#0D1A05 #254A0E #3F7D18 #59B022 #75D937

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F7D18#FFFFFF#000000##FFFFFF
##3F7D181.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)
#827200
Deuteranopia (green-blind)
#796D23
Tritanopia (blue-blind)
#3C786A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3f7d18;
/* rgb */ color: rgb(63, 125, 24);
/* oklch */ color: oklch(52.8% 0.145 136.4);
Tailwind
colors: {
  custom: {
    50: '#7ba35e',
    500: '#3f7d18',
    950: '#000000',
  },
}
SCSS
$custom: #3f7d18;
$custom-light: #7ba35e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7d18",
  "rgb": {
    "r": 63,
    "g": 125,
    "b": 24
  },
  "hsl": {
    "h": 96.832,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52792,
    "c": 0.1453,
    "h": 136.4
  },
  "luminance": 0.1579
}

Semantic roles & 50–950 ramp

primary
#3F7D18
secondary
#853FB2
accent
#3DEBA8
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3F7D18

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

Preview Lab → · Contrast checker → · Palette generator →

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