#3F5F12#3F5F12

#3F5F12 is a dark, moderate yellow-green. Relative luminance 0.093; OKLCH L 44.5% C 0.109 H 130.1°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#3F5F12
RGBrgb(63, 95, 18)
HSLhsl(85, 68%, 22%)
HSVhsv(85, 81%, 37%)
CMYKcmyk(33.7%, 0%, 81.1%, 62.7%)
CIE-LABlab(36.53, -24.58, 37.49)
CIE-LCHlch(36.53, 44.83, 123.25°)
OKLaboklab(44.45% -0.07 0.0833)
OKLCHoklch(44.45% 0.109 130.1)
XYZxyz(6.2513, 9.2847, 2.0349)
Luminance0.0929 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5F12 #32125F
analogous
#5F5912 #3F5F12 #195F12
triadic
#3F5F12 #123F5F #5F123F
tetradic
#3F5F12 #125F59 #32125F #5F1219
square
#3F5F12 #125F59 #32125F #5F1219
split-complementary
#3F5F12 #12195F #59125F
monochromatic
#111A05 #1D2C08 #3F5F12 #61921C #83C625

Accessibility & contrast

On white

7.35
#3F5F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#3F5F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F5F12
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5F12#FFFFFF#000000##FFFFFF
##3F5F121.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645702
Deuteranopia (green-blind)
#5F551A
Tritanopia (blue-blind)
#415B50
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3f5f12;
/* rgb */ color: rgb(63, 95, 18);
/* oklch */ color: oklch(44.5% 0.109 130.1);
Tailwind
colors: {
  custom: {
    50: '#778c57',
    500: '#3f5f12',
    950: '#000000',
  },
}
SCSS
$custom: #3f5f12;
$custom-light: #778c57;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5f12",
  "rgb": {
    "r": 63,
    "g": 95,
    "b": 18
  },
  "hsl": {
    "h": 84.935,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.44453,
    "c": 0.1088,
    "h": 130.1
  },
  "luminance": 0.09285
}

Semantic roles & 50–950 ramp

primary
#3F5F12
secondary
#5E3697
accent
#3DEB85
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #3F5F12

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

Preview Lab → · Contrast checker → · Palette generator →

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