#3F5A15#3F5A15

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

Color values

HEX#3F5A15
RGBrgb(63, 90, 21)
HSLhsl(83, 62%, 22%)
HSVhsv(83, 77%, 35%)
CMYKcmyk(30%, 0%, 76.7%, 64.7%)
CIE-LABlab(34.85, -21.86, 34.66)
CIE-LCHlch(34.85, 40.98, 122.24°)
OKLaboklab(43.1% -0.0623 0.0779)
OKLCHoklch(43.1% 0.1 128.7)
XYZxyz(5.8414, 8.4231, 2.0274)
Luminance0.0842 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5A15 #30155A
analogous
#5A5315 #3F5A15 #1D5A15
triadic
#3F5A15 #153F5A #5A153F
tetradic
#3F5A15 #155A53 #30155A #5A151D
square
#3F5A15 #155A53 #30155A #5A151D
split-complementary
#3F5A15 #151D5A #53155A
monochromatic
#111906 #1C2809 #3F5A15 #628C21 #84BD2C

Accessibility & contrast

On white

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

On black

2.68
#3F5A15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3F5A15#FFFFFF#000000##FFFFFF
##3F5A151.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5309
Deuteranopia (green-blind)
#5B511B
Tritanopia (blue-blind)
#41564C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3f5a15;
/* rgb */ color: rgb(63, 90, 21);
/* oklch */ color: oklch(43.1% 0.100 128.7);
Tailwind
colors: {
  custom: {
    50: '#778857',
    500: '#3f5a15',
    950: '#000000',
  },
}
SCSS
$custom: #3f5a15;
$custom-light: #778857;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5a15",
  "rgb": {
    "r": 63,
    "g": 90,
    "b": 21
  },
  "hsl": {
    "h": 83.478,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.43095,
    "c": 0.09976,
    "h": 128.7
  },
  "luminance": 0.08423
}

Semantic roles & 50–950 ramp

primary
#3F5A15
secondary
#5C3992
accent
#43E582
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #3F5A15

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

Preview Lab → · Contrast checker → · Palette generator →

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