#3F5A17#3F5A17

#3F5A17 is a dark, moderate yellow-green. Relative luminance 0.084; OKLCH L 43.1% C 0.098 H 128.9°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#3F5A17
RGBrgb(63, 90, 23)
HSLhsl(84, 59%, 22%)
HSVhsv(84, 74%, 35%)
CMYKcmyk(30%, 0%, 74.4%, 64.7%)
CIE-LABlab(34.86, -21.71, 33.82)
CIE-LCHlch(34.86, 40.19, 122.70°)
OKLaboklab(43.11% -0.0617 0.0764)
OKLCHoklch(43.11% 0.098 128.9)
XYZxyz(5.8607, 8.4308, 2.1290)
Luminance0.0843 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5A17 #32175A
analogous
#5A5417 #3F5A17 #1E5A17
triadic
#3F5A17 #173F5A #5A173F
tetradic
#3F5A17 #175A54 #32175A #5A171E
square
#3F5A17 #175A54 #32175A #5A171E
split-complementary
#3F5A17 #171E5A #54175A
monochromatic
#111806 #1D290B #3F5A17 #618B23 #83BB30

Accessibility & contrast

On white

7.82
#3F5A17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#3F5A17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F5A17
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5A17#FFFFFF#000000##FFFFFF
##3F5A171.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F530D
Deuteranopia (green-blind)
#5B511D
Tritanopia (blue-blind)
#41564D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3f5a17;
/* rgb */ color: rgb(63, 90, 23);
/* oklch */ color: oklch(43.1% 0.098 128.9);
Tailwind
colors: {
  custom: {
    50: '#778859',
    500: '#3f5a17',
    950: '#000000',
  },
}
SCSS
$custom: #3f5a17;
$custom-light: #778859;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5a17",
  "rgb": {
    "r": 63,
    "g": 90,
    "b": 23
  },
  "hsl": {
    "h": 84.179,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43113,
    "c": 0.09827,
    "h": 128.9
  },
  "luminance": 0.08431
}

Semantic roles & 50–950 ramp

primary
#3F5A17
secondary
#5E3C91
accent
#45E285
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090B04
muted
#7B7C79

Preview Lab

Preview with #3F5A17

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

Preview Lab → · Contrast checker → · Palette generator →

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