#3F7220#3F7220

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

Color values

HEX#3F7220
RGBrgb(63, 114, 32)
HSLhsl(97, 56%, 29%)
HSVhsv(97, 72%, 45%)
CMYKcmyk(44.7%, 0%, 71.9%, 55.3%)
CIE-LABlab(43.06, -32.48, 38.38)
CIE-LCHlch(43.06, 50.28, 130.23°)
OKLaboklab(49.82% -0.0903 0.0874)
OKLCHoklch(49.82% 0.126 135.9)
XYZxyz(8.3277, 13.1952, 3.4743)
Luminance0.1320 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7220 #532072
analogous
#687220 #3F7220 #20722A
triadic
#3F7220 #203F72 #72203F
tetradic
#3F7220 #206872 #532072 #722A20
square
#3F7220 #206872 #532072 #722A20
split-complementary
#3F7220 #2A2072 #722068
monochromatic
#0D1807 #254213 #3F7220 #59A22D #76CA42

Accessibility & contrast

On white

5.77
#3F7220 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#3F7220 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7220
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7220#FFFFFF#000000##FFFFFF
##3F72201.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766814
Deuteranopia (green-blind)
#6F6427
Tritanopia (blue-blind)
#3D6E62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3f7220;
/* rgb */ color: rgb(63, 114, 32);
/* oklch */ color: oklch(49.8% 0.126 135.9);
Tailwind
colors: {
  custom: {
    50: '#799b60',
    500: '#3f7220',
    950: '#000000',
  },
}
SCSS
$custom: #3f7220;
$custom-light: #799b60;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7220",
  "rgb": {
    "r": 63,
    "g": 114,
    "b": 32
  },
  "hsl": {
    "h": 97.317,
    "s": 56.164,
    "l": 28.627
  },
  "oklch": {
    "l": 0.49821,
    "c": 0.12566,
    "h": 135.9
  },
  "luminance": 0.13196
}

Semantic roles & 50–950 ramp

primary
#3F7220
secondary
#8248A6
accent
#48DFA6
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #3F7220

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

Preview Lab → · Contrast checker → · Palette generator →

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