#3F7718#3F7718

#3F7718 is a mid, vivid yellow-green. Relative luminance 0.143; OKLCH L 51.1% C 0.138 H 135.7°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#3F7718
RGBrgb(63, 119, 24)
HSLhsl(95, 66%, 28%)
HSVhsv(95, 80%, 47%)
CMYKcmyk(47.1%, 0%, 79.8%, 53.3%)
CIE-LABlab(44.68, -35.27, 43.14)
CIE-LCHlch(44.68, 55.73, 129.26°)
OKLaboklab(51.14% -0.0984 0.0961)
OKLCHoklch(51.14% 0.138 135.7)
XYZxyz(8.8114, 14.3158, 3.1629)
Luminance0.1432 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7718 #501877
analogous
#6F7718 #3F7718 #187720
triadic
#3F7718 #183F77 #77183F
tetradic
#3F7718 #186F77 #501877 #772018
square
#3F7718 #186F77 #501877 #772018
split-complementary
#3F7718 #201877 #77186F
monochromatic
#0D1905 #24440E #3F7718 #5AAA22 #76D633

Accessibility & contrast

On white

5.44
#3F7718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#3F7718 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7718
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7718#FFFFFF#000000##FFFFFF
##3F77181.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D02
Deuteranopia (green-blind)
#746822
Tritanopia (blue-blind)
#3D7265
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3f7718;
/* rgb */ color: rgb(63, 119, 24);
/* oklch */ color: oklch(51.1% 0.138 135.7);
Tailwind
colors: {
  custom: {
    50: '#7a9f5d',
    500: '#3f7718',
    950: '#000000',
  },
}
SCSS
$custom: #3f7718;
$custom-light: #7a9f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7718",
  "rgb": {
    "r": 63,
    "g": 119,
    "b": 24
  },
  "hsl": {
    "h": 95.368,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51137,
    "c": 0.13758,
    "h": 135.7
  },
  "luminance": 0.14316
}

Semantic roles & 50–950 ramp

primary
#3F7718
secondary
#7F3FAC
accent
#3EE9A3
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #3F7718

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

Preview Lab → · Contrast checker → · Palette generator →

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