#3F7418#3F7418

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

Color values

HEX#3F7418
RGBrgb(63, 116, 24)
HSLhsl(95, 66%, 27%)
HSVhsv(95, 79%, 45%)
CMYKcmyk(45.7%, 0%, 79.3%, 54.5%)
CIE-LABlab(43.67, -33.97, 42.17)
CIE-LCHlch(43.67, 54.15, 128.85°)
OKLaboklab(50.31% -0.0949 0.0941)
OKLCHoklch(50.31% 0.134 135.2)
XYZxyz(8.4600, 13.6130, 3.0458)
Luminance0.1361 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7418 #4D1874
analogous
#6D7418 #3F7418 #18741F
triadic
#3F7418 #183F74 #74183F
tetradic
#3F7418 #186D74 #4D1874 #741F18
square
#3F7418 #186D74 #4D1874 #741F18
split-complementary
#3F7418 #1F1874 #74186D
monochromatic
#0E1905 #23410E #3F7418 #5BA722 #77D532

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F7418#FFFFFF#000000##FFFFFF
##3F74181.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)
#796A03
Deuteranopia (green-blind)
#716622
Tritanopia (blue-blind)
#3D6F63
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3f7418;
/* rgb */ color: rgb(63, 116, 24);
/* oklch */ color: oklch(50.3% 0.134 135.2);
Tailwind
colors: {
  custom: {
    50: '#799c5d',
    500: '#3f7418',
    950: '#000000',
  },
}
SCSS
$custom: #3f7418;
$custom-light: #799c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7418",
  "rgb": {
    "r": 63,
    "g": 116,
    "b": 24
  },
  "hsl": {
    "h": 94.565,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.50308,
    "c": 0.13364,
    "h": 135.2
  },
  "luminance": 0.13613
}

Semantic roles & 50–950 ramp

primary
#3F7418
secondary
#7C3FA9
accent
#3FE9A1
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #3F7418

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

Preview Lab → · Contrast checker → · Palette generator →

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