#3F7822#3F7822

#3F7822 is a mid, vivid yellow-green. Relative luminance 0.146; OKLCH L 51.5% C 0.132 H 137.0°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#3F7822
RGBrgb(63, 120, 34)
HSLhsl(100, 56%, 30%)
HSVhsv(100, 72%, 47%)
CMYKcmyk(47.5%, 0%, 71.7%, 52.9%)
CIE-LABlab(45.09, -34.95, 39.65)
CIE-LCHlch(45.09, 52.86, 131.39°)
OKLaboklab(51.49% -0.0968 0.0903)
OKLCHoklch(51.49% 0.132 137)
XYZxyz(9.0548, 14.6046, 3.8549)
Luminance0.1461 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7822 #5B2278
analogous
#6A7822 #3F7822 #227830
triadic
#3F7822 #223F78 #78223F
tetradic
#3F7822 #226A78 #5B2278 #783022
square
#3F7822 #226A78 #5B2278 #783022
split-complementary
#3F7822 #302278 #78226A
monochromatic
#0D1907 #264814 #3F7822 #58A830 #75CB49

Accessibility & contrast

On white

5.36
#3F7822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#3F7822 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7822
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7822#FFFFFF#000000##FFFFFF
##3F78221.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E15
Deuteranopia (green-blind)
#74692A
Tritanopia (blue-blind)
#3C7467
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3f7822;
/* rgb */ color: rgb(63, 120, 34);
/* oklch */ color: oklch(51.5% 0.132 137.0);
Tailwind
colors: {
  custom: {
    50: '#799f62',
    500: '#3f7822',
    950: '#000000',
  },
}
SCSS
$custom: #3f7822;
$custom-light: #799f62;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7822",
  "rgb": {
    "r": 63,
    "g": 120,
    "b": 34
  },
  "hsl": {
    "h": 99.767,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51492,
    "c": 0.13243,
    "h": 137
  },
  "luminance": 0.14605
}

Semantic roles & 50–950 ramp

primary
#3F7822
secondary
#8B4BAB
accent
#49DFAC
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E05
muted
#7C7E7A

Preview Lab

Preview with #3F7822

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

Preview Lab → · Contrast checker → · Palette generator →

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