#3F5111#3F5111

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

Color values

HEX#3F5111
RGBrgb(63, 81, 17)
HSLhsl(77, 65%, 19%)
HSVhsv(77, 79%, 32%)
CMYKcmyk(22.2%, 0%, 79%, 68.2%)
CIE-LABlab(31.77, -17.38, 33.27)
CIE-LCHlch(31.77, 37.54, 117.58°)
OKLaboklab(40.59% -0.0505 0.0743)
OKLCHoklch(40.59% 0.09 124.2)
XYZxyz(5.0936, 6.9820, 1.6095)
Luminance0.0698 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5111 #231151
analogous
#514311 #3F5111 #1F5111
triadic
#3F5111 #113F51 #51113F
tetradic
#3F5111 #115143 #231151 #51111F
square
#3F5111 #115143 #231151 #51111F
split-complementary
#3F5111 #111F51 #431151
monochromatic
#141905 #181E06 #3F5111 #66841C #8EB626

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F5111#FFFFFF#000000##FFFFFF
##3F51111.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)
#564B06
Deuteranopia (green-blind)
#544B17
Tritanopia (blue-blind)
#424D45
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3f5111;
/* rgb */ color: rgb(63, 81, 17);
/* oklch */ color: oklch(40.6% 0.090 124.2);
Tailwind
colors: {
  custom: {
    50: '#768254',
    500: '#3f5111',
    950: '#000000',
  },
}
SCSS
$custom: #3f5111;
$custom-light: #768254;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5111",
  "rgb": {
    "r": 63,
    "g": 81,
    "b": 17
  },
  "hsl": {
    "h": 76.875,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.40586,
    "c": 0.08977,
    "h": 124.2
  },
  "luminance": 0.06982
}

Semantic roles & 50–950 ramp

primary
#3F5111
secondary
#4C348A
accent
#40E86F
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #3F5111

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

Preview Lab → · Contrast checker → · Palette generator →

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