#3F7216#3F7216

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

Color values

HEX#3F7216
RGBrgb(63, 114, 22)
HSLhsl(93, 68%, 27%)
HSVhsv(93, 81%, 45%)
CMYKcmyk(44.7%, 0%, 80.7%, 55.3%)
CIE-LABlab(42.99, -33.21, 42.22)
CIE-LCHlch(42.99, 53.72, 128.19°)
OKLaboklab(49.74% -0.093 0.0939)
OKLCHoklch(49.74% 0.132 134.7)
XYZxyz(8.2119, 13.1489, 2.8642)
Luminance0.1315 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7216 #491672
analogous
#6D7216 #3F7216 #16721B
triadic
#3F7216 #163F72 #72163F
tetradic
#3F7216 #166D72 #491672 #721B16
square
#3F7216 #166D72 #491672 #721B16
split-complementary
#3F7216 #1B1672 #72166D
monochromatic
#0E1A05 #233F0C #3F7216 #5BA520 #78D62C

Accessibility & contrast

On white

5.79
#3F7216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3F7216
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7216#FFFFFF#000000##FFFFFF
##3F72161.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#706420
Tritanopia (blue-blind)
#3E6D61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3f7216;
/* rgb */ color: rgb(63, 114, 22);
/* oklch */ color: oklch(49.7% 0.132 134.7);
Tailwind
colors: {
  custom: {
    50: '#799b5b',
    500: '#3f7216',
    950: '#000000',
  },
}
SCSS
$custom: #3f7216;
$custom-light: #799b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7216",
  "rgb": {
    "r": 63,
    "g": 114,
    "b": 22
  },
  "hsl": {
    "h": 93.261,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49742,
    "c": 0.13215,
    "h": 134.7
  },
  "luminance": 0.13149
}

Semantic roles & 50–950 ramp

primary
#3F7216
secondary
#783CA8
accent
#3DEB9D
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3F7216

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

Preview Lab → · Contrast checker → · Palette generator →

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