#3F8522#3F8522

#3F8522 is a mid, vivid green. Relative luminance 0.179; OKLCH L 55.1% C 0.150 H 138.2°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#3F8522
RGBrgb(63, 133, 34)
HSLhsl(102, 59%, 33%)
HSVhsv(102, 74%, 52%)
CMYKcmyk(52.6%, 0%, 74.4%, 47.8%)
CIE-LABlab(49.43, -40.41, 44.12)
CIE-LCHlch(49.43, 59.83, 132.49°)
OKLaboklab(55.06% -0.1116 0.0997)
OKLCHoklch(55.06% 0.15 138.2)
XYZxyz(10.7258, 17.9465, 4.4119)
Luminance0.1795 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8522 #682285
analogous
#708522 #3F8522 #228536
triadic
#3F8522 #223F85 #85223F
tetradic
#3F8522 #227085 #682285 #853622
square
#3F8522 #227085 #682285 #853622
split-complementary
#3F8522 #362285 #852270
monochromatic
#112409 #285416 #3F8522 #56B62E #76D24F

Accessibility & contrast

On white

4.58
#3F8522 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#3F8522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F8522
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8522#FFFFFF#000000##000000
##3F85221.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#897910
Deuteranopia (green-blind)
#80732C
Tritanopia (blue-blind)
#398072
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3f8522;
/* rgb */ color: rgb(63, 133, 34);
/* oklch */ color: oklch(55.1% 0.150 138.2);
Tailwind
colors: {
  custom: {
    50: '#7ba964',
    500: '#3f8522',
    950: '#000000',
  },
}
SCSS
$custom: #3f8522;
$custom-light: #7ba964;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8522",
  "rgb": {
    "r": 63,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 102.424,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55062,
    "c": 0.14965,
    "h": 138.2
  },
  "luminance": 0.17947
}

Semantic roles & 50–950 ramp

primary
#3F8522
secondary
#974DB6
accent
#45E2B4
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #3F8522

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

Preview Lab → · Contrast checker → · Palette generator →

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