#3F7412#3F7412

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

Color values

HEX#3F7412
RGBrgb(63, 116, 18)
HSLhsl(92, 73%, 26%)
HSVhsv(92, 84%, 45%)
CMYKcmyk(45.7%, 0%, 84.5%, 54.5%)
CIE-LABlab(43.64, -34.32, 44.13)
CIE-LCHlch(43.64, 55.90, 127.87°)
OKLaboklab(50.27% -0.0962 0.0972)
OKLCHoklch(50.27% 0.137 134.7)
XYZxyz(8.4043, 13.5907, 2.7526)
Luminance0.1359 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7412 #471274
analogous
#707412 #3F7412 #127416
triadic
#3F7412 #123F74 #74123F
tetradic
#3F7412 #127074 #471274 #741612
square
#3F7412 #127074 #471274 #741612
split-complementary
#3F7412 #161274 #741270
monochromatic
#0E1A04 #223F0A #3F7412 #5CA91A #79DD23

Accessibility & contrast

On white

5.65
#3F7412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3F7412
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7412#FFFFFF#000000##FFFFFF
##3F74121.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f7412;
/* rgb */ color: rgb(63, 116, 18);
/* oklch */ color: oklch(50.3% 0.137 134.7);
Tailwind
colors: {
  custom: {
    50: '#7a9c5a',
    500: '#3f7412',
    950: '#000000',
  },
}
SCSS
$custom: #3f7412;
$custom-light: #7a9c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7412",
  "rgb": {
    "r": 63,
    "g": 116,
    "b": 18
  },
  "hsl": {
    "h": 92.449,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50271,
    "c": 0.13681,
    "h": 134.7
  },
  "luminance": 0.13591
}

Semantic roles & 50–950 ramp

primary
#3F7412
secondary
#7637AB
accent
#38F09B
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #3F7412

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

Preview Lab → · Contrast checker → · Palette generator →

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