#3F7223#3F7223

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

Color values

HEX#3F7223
RGBrgb(63, 114, 35)
HSLhsl(99, 53%, 29%)
HSVhsv(99, 69%, 45%)
CMYKcmyk(44.7%, 0%, 69.3%, 55.3%)
CIE-LABlab(43.08, -32.21, 37.09)
CIE-LCHlch(43.08, 49.12, 130.97°)
OKLaboklab(49.85% -0.0893 0.0851)
OKLCHoklch(49.85% 0.123 136.4)
XYZxyz(8.3704, 13.2123, 3.6990)
Luminance0.1321 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7223 #562372
analogous
#677223 #3F7223 #23722F
triadic
#3F7223 #233F72 #72233F
tetradic
#3F7223 #236772 #562372 #722F23
square
#3F7223 #236772 #562372 #722F23
split-complementary
#3F7223 #2F2372 #722367
monochromatic
#0D1707 #254315 #3F7223 #59A131 #75C748

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F7223#FFFFFF#000000##FFFFFF
##3F72231.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)
#766818
Deuteranopia (green-blind)
#6F642A
Tritanopia (blue-blind)
#3D6E62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3f7223;
/* rgb */ color: rgb(63, 114, 35);
/* oklch */ color: oklch(49.9% 0.123 136.4);
Tailwind
colors: {
  custom: {
    50: '#799b62',
    500: '#3f7223',
    950: '#000000',
  },
}
SCSS
$custom: #3f7223;
$custom-light: #799b62;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7223",
  "rgb": {
    "r": 63,
    "g": 114,
    "b": 35
  },
  "hsl": {
    "h": 98.734,
    "s": 53.02,
    "l": 29.216
  },
  "oklch": {
    "l": 0.4985,
    "c": 0.12336,
    "h": 136.4
  },
  "luminance": 0.13213
}

Semantic roles & 50–950 ramp

primary
#3F7223
secondary
#854CA5
accent
#4BDCA9
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#090E05
muted
#7B7E7A

Preview Lab

Preview with #3F7223

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

Preview Lab → · Contrast checker → · Palette generator →

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