#3F5A12#3F5A12

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

Color values

HEX#3F5A12
RGBrgb(63, 90, 18)
HSLhsl(83, 67%, 21%)
HSVhsv(83, 80%, 35%)
CMYKcmyk(30%, 0%, 80%, 64.7%)
CIE-LABlab(34.83, -22.06, 35.85)
CIE-LCHlch(34.83, 42.10, 121.61°)
OKLaboklab(43.07% -0.0632 0.0799)
OKLCHoklch(43.07% 0.102 128.3)
XYZxyz(5.8152, 8.4126, 1.8896)
Luminance0.0841 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5A12 #2D125A
analogous
#5A5112 #3F5A12 #1B5A12
triadic
#3F5A12 #123F5A #5A123F
tetradic
#3F5A12 #125A51 #2D125A #5A121B
square
#3F5A12 #125A51 #2D125A #5A121B
split-complementary
#3F5A12 #121B5A #51125A
monochromatic
#121A05 #1B2708 #3F5A12 #638D1C #86C026

Accessibility & contrast

On white

7.83
#3F5A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F5A12
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5A12#FFFFFF#000000##FFFFFF
##3F5A121.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f5a12;
/* rgb */ color: rgb(63, 90, 18);
/* oklch */ color: oklch(43.1% 0.102 128.3);
Tailwind
colors: {
  custom: {
    50: '#778856',
    500: '#3f5a12',
    950: '#000000',
  },
}
SCSS
$custom: #3f5a12;
$custom-light: #778856;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5a12",
  "rgb": {
    "r": 63,
    "g": 90,
    "b": 18
  },
  "hsl": {
    "h": 82.5,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.43071,
    "c": 0.10182,
    "h": 128.3
  },
  "luminance": 0.08413
}

Semantic roles & 50–950 ramp

primary
#3F5A12
secondary
#583593
accent
#3EEA7E
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #3F5A12

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

Preview Lab → · Contrast checker → · Palette generator →

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