#3F4915#3F4915

#3F4915 is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.4% C 0.075 H 119.4°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#3F4915
RGBrgb(63, 73, 21)
HSLhsl(72, 55%, 18%)
HSVhsv(72, 71%, 29%)
CMYKcmyk(13.7%, 0%, 71.2%, 71.4%)
CIE-LABlab(29.10, -12.60, 28.74)
CIE-LCHlch(29.10, 31.38, 113.67°)
OKLaboklab(38.44% -0.0368 0.0654)
OKLCHoklch(38.44% 0.075 119.4)
XYZxyz(4.5679, 5.8760, 1.6029)
Luminance0.0588 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4915 #1F1549
analogous
#493915 #3F4915 #254915
triadic
#3F4915 #153F49 #49153F
tetradic
#3F4915 #154939 #1F1549 #491525
square
#3F4915 #154939 #1F1549 #491525
split-complementary
#3F4915 #152549 #391549
monochromatic
#151807 #161907 #3F4915 #687923 #91A830

Accessibility & contrast

On white

9.65
#3F4915 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#3F4915 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4915
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4915#FFFFFF#000000##FFFFFF
##3F49151.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E450E
Deuteranopia (green-blind)
#4D4519
Tritanopia (blue-blind)
#43453E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3f4915;
/* rgb */ color: rgb(63, 73, 21);
/* oklch */ color: oklch(38.4% 0.075 119.4);
Tailwind
colors: {
  custom: {
    50: '#767b55',
    500: '#3f4915',
    950: '#000000',
  },
}
SCSS
$custom: #3f4915;
$custom-light: #767b55;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4915",
  "rgb": {
    "r": 63,
    "g": 73,
    "b": 21
  },
  "hsl": {
    "h": 71.538,
    "s": 55.319,
    "l": 18.431
  },
  "oklch": {
    "l": 0.38444,
    "c": 0.07508,
    "h": 119.4
  },
  "luminance": 0.05876
}

Semantic roles & 50–950 ramp

primary
#3F4915
secondary
#473981
accent
#49DF66
background
#F7F7F5
surface
#EDEDE9
border
#C8C8C5
text
#080903
muted
#7B7B78

Preview Lab

Preview with #3F4915

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

Preview Lab → · Contrast checker → · Palette generator →

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