#3F5A0F#3F5A0F

#3F5A0F is a dark, moderate yellow-green. Relative luminance 0.084; OKLCH L 43.0% C 0.104 H 128.1°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#3F5A0F
RGBrgb(63, 90, 15)
HSLhsl(82, 71%, 21%)
HSVhsv(82, 83%, 35%)
CMYKcmyk(30%, 0%, 83.3%, 64.7%)
CIE-LABlab(34.81, -22.24, 36.95)
CIE-LCHlch(34.81, 43.13, 121.05°)
OKLaboklab(43.05% -0.0639 0.0816)
OKLCHoklch(43.05% 0.104 128.1)
XYZxyz(5.7923, 8.4034, 1.7687)
Luminance0.0840 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5A0F #2A0F5A
analogous
#5A4F0F #3F5A0F #195A0F
triadic
#3F5A0F #0F3F5A #5A0F3F
tetradic
#3F5A0F #0F5A4F #2A0F5A #5A0F19
square
#3F5A0F #0F5A4F #2A0F5A #5A0F19
split-complementary
#3F5A0F #0F195A #4F0F5A
monochromatic
#121A04 #1A2606 #3F5A0F #648E18 #88C320

Accessibility & contrast

On white

7.83
#3F5A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3F5A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F5A0F
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5A0F#FFFFFF#000000##FFFFFF
##3F5A0F1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5300
Deuteranopia (green-blind)
#5B5117
Tritanopia (blue-blind)
#42564C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3f5a0f;
/* rgb */ color: rgb(63, 90, 15);
/* oklch */ color: oklch(43.0% 0.104 128.1);
Tailwind
colors: {
  custom: {
    50: '#778854',
    500: '#3f5a0f',
    950: '#000000',
  },
}
SCSS
$custom: #3f5a0f;
$custom-light: #778854;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5a0f",
  "rgb": {
    "r": 63,
    "g": 90,
    "b": 15
  },
  "hsl": {
    "h": 81.6,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.4305,
    "c": 0.10366,
    "h": 128.1
  },
  "luminance": 0.08404
}

Semantic roles & 50–950 ramp

primary
#3F5A0F
secondary
#553194
accent
#3AEE7B
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #3F5A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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