#3F7215#3F7215

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

Color values

HEX#3F7215
RGBrgb(63, 114, 21)
HSLhsl(93, 69%, 26%)
HSVhsv(93, 82%, 45%)
CMYKcmyk(44.7%, 0%, 81.6%, 55.3%)
CIE-LABlab(42.98, -33.27, 42.56)
CIE-LCHlch(42.98, 54.02, 128.02°)
OKLaboklab(49.74% -0.0933 0.0944)
OKLCHoklch(49.74% 0.133 134.6)
XYZxyz(8.2024, 13.1451, 2.8144)
Luminance0.1315 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7215 #481572
analogous
#6E7215 #3F7215 #157219
triadic
#3F7215 #153F72 #72153F
tetradic
#3F7215 #156E72 #481572 #721915
square
#3F7215 #156E72 #481572 #721915
split-complementary
#3F7215 #191572 #72156E
monochromatic
#0E1A05 #223E0B #3F7215 #5CA61F #78D82A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F7215#FFFFFF#000000##FFFFFF
##3F72151.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)
#70641F
Tritanopia (blue-blind)
#3E6D61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3f7215;
/* rgb */ color: rgb(63, 114, 21);
/* oklch */ color: oklch(49.7% 0.133 134.6);
Tailwind
colors: {
  custom: {
    50: '#799b5b',
    500: '#3f7215',
    950: '#000000',
  },
}
SCSS
$custom: #3f7215;
$custom-light: #799b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7215",
  "rgb": {
    "r": 63,
    "g": 114,
    "b": 21
  },
  "hsl": {
    "h": 92.903,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49735,
    "c": 0.13271,
    "h": 134.6
  },
  "luminance": 0.13146
}

Semantic roles & 50–950 ramp

primary
#3F7215
secondary
#773BA8
accent
#3CEC9C
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #3F7215

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

Preview Lab → · Contrast checker → · Palette generator →

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