#3F5F0F#3F5F0F

#3F5F0F is a dark, moderate yellow-green. Relative luminance 0.093; OKLCH L 44.4% C 0.111 H 129.8°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#3F5F0F
RGBrgb(63, 95, 15)
HSLhsl(84, 73%, 22%)
HSVhsv(84, 84%, 37%)
CMYKcmyk(33.7%, 0%, 84.2%, 62.7%)
CIE-LABlab(36.51, -24.75, 38.53)
CIE-LCHlch(36.51, 45.80, 122.72°)
OKLaboklab(44.43% -0.0707 0.085)
OKLCHoklch(44.43% 0.111 129.8)
XYZxyz(6.2283, 9.2755, 1.9140)
Luminance0.0928 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5F0F #2F0F5F
analogous
#5F570F #3F5F0F #175F0F
triadic
#3F5F0F #0F3F5F #5F0F3F
tetradic
#3F5F0F #0F5F57 #2F0F5F #5F0F17
square
#3F5F0F #0F5F57 #2F0F5F #5F0F17
split-complementary
#3F5F0F #0F175F #570F5F
monochromatic
#121A04 #1C2A07 #3F5F0F #629417 #85C920

Accessibility & contrast

On white

7.36
#3F5F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F5F0F
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5F0F#FFFFFF#000000##FFFFFF
##3F5F0F1.007.362.867.36
#FFFFFF7.361.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645700
Deuteranopia (green-blind)
#5F5518
Tritanopia (blue-blind)
#415A50
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3f5f0f;
/* rgb */ color: rgb(63, 95, 15);
/* oklch */ color: oklch(44.4% 0.111 129.8);
Tailwind
colors: {
  custom: {
    50: '#788c55',
    500: '#3f5f0f',
    950: '#000000',
  },
}
SCSS
$custom: #3f5f0f;
$custom-light: #788c55;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5f0f",
  "rgb": {
    "r": 63,
    "g": 95,
    "b": 15
  },
  "hsl": {
    "h": 84,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.44434,
    "c": 0.11053,
    "h": 129.8
  },
  "luminance": 0.09276
}

Semantic roles & 50–950 ramp

primary
#3F5F0F
secondary
#5B3298
accent
#38EF82
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #3F5F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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