#3F7415#3F7415

#3F7415 is a mid, vivid yellow-green. Relative luminance 0.136; OKLCH L 50.3% C 0.135 H 135.0°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#3F7415
RGBrgb(63, 116, 21)
HSLhsl(93, 69%, 27%)
HSVhsv(93, 82%, 45%)
CMYKcmyk(45.7%, 0%, 81.9%, 54.5%)
CIE-LABlab(43.66, -34.15, 43.19)
CIE-LCHlch(43.66, 55.06, 128.33°)
OKLaboklab(50.29% -0.0956 0.0958)
OKLCHoklch(50.29% 0.135 135)
XYZxyz(8.4305, 13.6012, 2.8904)
Luminance0.1360 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7415 #4A1574
analogous
#6F7415 #3F7415 #15741B
triadic
#3F7415 #153F74 #74153F
tetradic
#3F7415 #156F74 #4A1574 #741B15
square
#3F7415 #156F74 #4A1574 #741B15
split-complementary
#3F7415 #1B1574 #74156F
monochromatic
#0E1A05 #23400C #3F7415 #5BA81E #78D92B

Accessibility & contrast

On white

5.64
#3F7415 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#3F7415 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7415
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7415#FFFFFF#000000##FFFFFF
##3F74151.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#726620
Tritanopia (blue-blind)
#3E6F62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3f7415;
/* rgb */ color: rgb(63, 116, 21);
/* oklch */ color: oklch(50.3% 0.135 135.0);
Tailwind
colors: {
  custom: {
    50: '#7a9c5b',
    500: '#3f7415',
    950: '#000000',
  },
}
SCSS
$custom: #3f7415;
$custom-light: #7a9c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7415",
  "rgb": {
    "r": 63,
    "g": 116,
    "b": 21
  },
  "hsl": {
    "h": 93.474,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.50289,
    "c": 0.13532,
    "h": 135
  },
  "luminance": 0.13602
}

Semantic roles & 50–950 ramp

primary
#3F7415
secondary
#793BAA
accent
#3CEC9E
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #3F7415

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

Preview Lab → · Contrast checker → · Palette generator →

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