#3F7316#3F7316

#3F7316 is a mid, vivid yellow-green. Relative luminance 0.134; OKLCH L 50.0% C 0.133 H 134.9°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#3F7316
RGBrgb(63, 115, 22)
HSLhsl(94, 68%, 27%)
HSVhsv(94, 81%, 45%)
CMYKcmyk(45.2%, 0%, 80.9%, 54.9%)
CIE-LABlab(43.32, -33.65, 42.54)
CIE-LCHlch(43.32, 54.24, 128.35°)
OKLaboklab(50.02% -0.0942 0.0945)
OKLCHoklch(50.02% 0.133 134.9)
XYZxyz(8.3253, 13.3757, 2.9020)
Luminance0.1338 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7316 #4A1673
analogous
#6E7316 #3F7316 #16731B
triadic
#3F7316 #163F73 #73163F
tetradic
#3F7316 #166E73 #4A1673 #731B16
square
#3F7316 #166E73 #4A1673 #731B16
split-complementary
#3F7316 #1B1673 #73166E
monochromatic
#0E1A05 #23400C #3F7316 #5BA620 #78D72D

Accessibility & contrast

On white

5.71
#3F7316 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#3F7316 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7316
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7316#FFFFFF#000000##FFFFFF
##3F73161.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#716520
Tritanopia (blue-blind)
#3E6E62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3f7316;
/* rgb */ color: rgb(63, 115, 22);
/* oklch */ color: oklch(50.0% 0.133 134.9);
Tailwind
colors: {
  custom: {
    50: '#799c5c',
    500: '#3f7316',
    950: '#000000',
  },
}
SCSS
$custom: #3f7316;
$custom-light: #799c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7316",
  "rgb": {
    "r": 63,
    "g": 115,
    "b": 22
  },
  "hsl": {
    "h": 93.548,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.50018,
    "c": 0.13347,
    "h": 134.9
  },
  "luminance": 0.13376
}

Semantic roles & 50–950 ramp

primary
#3F7316
secondary
#793CA9
accent
#3DEB9E
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #3F7316

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

Preview Lab → · Contrast checker → · Palette generator →

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