#3F7315#3F7315

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

Color values

HEX#3F7315
RGBrgb(63, 115, 21)
HSLhsl(93, 69%, 27%)
HSVhsv(93, 82%, 45%)
CMYKcmyk(45.2%, 0%, 81.7%, 54.9%)
CIE-LABlab(43.32, -33.71, 42.88)
CIE-LCHlch(43.32, 54.54, 128.18°)
OKLaboklab(50.01% -0.0944 0.0951)
OKLCHoklch(50.01% 0.134 134.8)
XYZxyz(8.3158, 13.3719, 2.8522)
Luminance0.1337 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7315 #491573
analogous
#6E7315 #3F7315 #15731A
triadic
#3F7315 #153F73 #73153F
tetradic
#3F7315 #156E73 #491573 #731A15
square
#3F7315 #156E73 #491573 #731A15
split-complementary
#3F7315 #1A1573 #73156E
monochromatic
#0E1A05 #233F0C #3F7315 #5BA71E #78D82A

Accessibility & contrast

On white

5.72
#3F7315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#3F7315 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7315
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7315#FFFFFF#000000##FFFFFF
##3F73151.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f7315;
/* rgb */ color: rgb(63, 115, 21);
/* oklch */ color: oklch(50.0% 0.134 134.8);
Tailwind
colors: {
  custom: {
    50: '#799c5b',
    500: '#3f7315',
    950: '#000000',
  },
}
SCSS
$custom: #3f7315;
$custom-light: #799c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7315",
  "rgb": {
    "r": 63,
    "g": 115,
    "b": 21
  },
  "hsl": {
    "h": 93.191,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.50012,
    "c": 0.13401,
    "h": 134.8
  },
  "luminance": 0.13372
}

Semantic roles & 50–950 ramp

primary
#3F7315
secondary
#783BA9
accent
#3CEC9D
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #3F7315

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

Preview Lab → · Contrast checker → · Palette generator →

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