#3F7218#3F7218

#3F7218 is a mid, vivid yellow-green. Relative luminance 0.132; OKLCH L 49.8% C 0.131 H 134.9°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#3F7218
RGBrgb(63, 114, 24)
HSLhsl(94, 65%, 27%)
HSVhsv(94, 79%, 45%)
CMYKcmyk(44.7%, 0%, 78.9%, 55.3%)
CIE-LABlab(43.00, -33.09, 41.52)
CIE-LCHlch(43.00, 53.09, 128.55°)
OKLaboklab(49.76% -0.0925 0.0927)
OKLCHoklch(49.76% 0.131 134.9)
XYZxyz(8.2319, 13.1569, 2.9698)
Luminance0.1316 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7218 #4B1872
analogous
#6C7218 #3F7218 #18721E
triadic
#3F7218 #183F72 #72183F
tetradic
#3F7218 #186C72 #4B1872 #721E18
square
#3F7218 #186C72 #4B1872 #721E18
split-complementary
#3F7218 #1E1872 #72186C
monochromatic
#0E1905 #233F0D #3F7218 #5BA523 #77D431

Accessibility & contrast

On white

5.78
#3F7218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#3F7218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7218
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7218#FFFFFF#000000##FFFFFF
##3F72181.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776804
Deuteranopia (green-blind)
#706421
Tritanopia (blue-blind)
#3E6D61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3f7218;
/* rgb */ color: rgb(63, 114, 24);
/* oklch */ color: oklch(49.8% 0.131 134.9);
Tailwind
colors: {
  custom: {
    50: '#799b5c',
    500: '#3f7218',
    950: '#000000',
  },
}
SCSS
$custom: #3f7218;
$custom-light: #799b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7218",
  "rgb": {
    "r": 63,
    "g": 114,
    "b": 24
  },
  "hsl": {
    "h": 94,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.49756,
    "c": 0.13101,
    "h": 134.9
  },
  "luminance": 0.13157
}

Semantic roles & 50–950 ramp

primary
#3F7218
secondary
#7A3EA7
accent
#40E89F
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3F7218

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

Preview Lab → · Contrast checker → · Palette generator →

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