#3F7322#3F7322

#3F7322 is a mid, vivid yellow-green. Relative luminance 0.134; OKLCH L 50.1% C 0.126 H 136.4°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#3F7322
RGBrgb(63, 115, 34)
HSLhsl(99, 54%, 29%)
HSVhsv(99, 70%, 45%)
CMYKcmyk(45.2%, 0%, 70.4%, 54.9%)
CIE-LABlab(43.41, -32.75, 37.88)
CIE-LCHlch(43.41, 50.08, 130.84°)
OKLaboklab(50.11% -0.0909 0.0866)
OKLCHoklch(50.11% 0.126 136.4)
XYZxyz(8.4691, 13.4332, 3.6597)
Luminance0.1343 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7322 #562273
analogous
#687322 #3F7322 #22732E
triadic
#3F7322 #223F73 #73223F
tetradic
#3F7322 #226873 #562273 #732E22
square
#3F7322 #226873 #562273 #732E22
split-complementary
#3F7322 #2E2273 #732268
monochromatic
#0D1807 #254414 #3F7322 #59A230 #75C947

Accessibility & contrast

On white

5.70
#3F7322 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#3F7322 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7322
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7322#FFFFFF#000000##FFFFFF
##3F73221.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776917
Deuteranopia (green-blind)
#706529
Tritanopia (blue-blind)
#3D6F63
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3f7322;
/* rgb */ color: rgb(63, 115, 34);
/* oklch */ color: oklch(50.1% 0.126 136.4);
Tailwind
colors: {
  custom: {
    50: '#799c62',
    500: '#3f7322',
    950: '#000000',
  },
}
SCSS
$custom: #3f7322;
$custom-light: #799c62;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7322",
  "rgb": {
    "r": 63,
    "g": 115,
    "b": 34
  },
  "hsl": {
    "h": 98.519,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50115,
    "c": 0.12554,
    "h": 136.4
  },
  "luminance": 0.13434
}

Semantic roles & 50–950 ramp

primary
#3F7322
secondary
#854BA6
accent
#4ADEA9
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #3F7322

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

Preview Lab → · Contrast checker → · Palette generator →

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