#3F5114#3F5114

#3F5114 is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.6% C 0.088 H 124.5°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#3F5114
RGBrgb(63, 81, 20)
HSLhsl(78, 60%, 20%)
HSVhsv(78, 75%, 32%)
CMYKcmyk(22.2%, 0%, 75.3%, 68.2%)
CIE-LABlab(31.79, -17.17, 32.00)
CIE-LCHlch(31.79, 36.32, 118.21°)
OKLaboklab(40.61% -0.0496 0.0721)
OKLCHoklch(40.61% 0.088 124.5)
XYZxyz(5.1186, 6.9921, 1.7416)
Luminance0.0699 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5114 #261451
analogous
#514514 #3F5114 #215114
triadic
#3F5114 #143F51 #51143F
tetradic
#3F5114 #145145 #261451 #511421
square
#3F5114 #145145 #261451 #511421
split-complementary
#3F5114 #142151 #451451
monochromatic
#131906 #192008 #3F5114 #658220 #8BB32C

Accessibility & contrast

On white

8.76
#3F5114 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#3F5114 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F5114
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5114#FFFFFF#000000##FFFFFF
##3F51141.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B0B
Deuteranopia (green-blind)
#534B19
Tritanopia (blue-blind)
#424D45
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3f5114;
/* rgb */ color: rgb(63, 81, 20);
/* oklch */ color: oklch(40.6% 0.088 124.5);
Tailwind
colors: {
  custom: {
    50: '#768256',
    500: '#3f5114',
    950: '#000000',
  },
}
SCSS
$custom: #3f5114;
$custom-light: #768256;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5114",
  "rgb": {
    "r": 63,
    "g": 81,
    "b": 20
  },
  "hsl": {
    "h": 77.705,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40612,
    "c": 0.08753,
    "h": 124.5
  },
  "luminance": 0.06992
}

Semantic roles & 50–950 ramp

primary
#3F5114
secondary
#503889
accent
#44E473
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #3F5114

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

Preview Lab → · Contrast checker → · Palette generator →

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