#3F4D0C#3F4D0C

#3F4D0C is a dark, moderate yellow-green. Relative luminance 0.064; OKLCH L 39.5% C 0.088 H 121.5°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#3F4D0C
RGBrgb(63, 77, 12)
HSLhsl(73, 73%, 17%)
HSVhsv(73, 84%, 30%)
CMYKcmyk(18.2%, 0%, 84.4%, 69.8%)
CIE-LABlab(30.38, -15.48, 33.90)
CIE-LCHlch(30.38, 37.27, 114.53°)
OKLaboklab(39.45% -0.0457 0.0746)
OKLCHoklch(39.45% 0.088 121.5)
XYZxyz(4.7702, 6.3911, 1.3300)
Luminance0.0639 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4D0C #1A0C4D
analogous
#4D3B0C #3F4D0C #1F4D0C
triadic
#3F4D0C #0C3F4D #4D0C3F
tetradic
#3F4D0C #0C4D3B #1A0C4D #4D0C1F
square
#3F4D0C #0C4D3B #1A0C4D #4D0C1F
split-complementary
#3F4D0C #0C1F4D #3B0C4D
monochromatic
#161A04 #161A04 #3F4D0C #6A8214 #96B71D

Accessibility & contrast

On white

9.22
#3F4D0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#3F4D0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4D0C
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4D0C#FFFFFF#000000##FFFFFF
##3F4D0C1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524800
Deuteranopia (green-blind)
#514812
Tritanopia (blue-blind)
#434941
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3f4d0c;
/* rgb */ color: rgb(63, 77, 12);
/* oklch */ color: oklch(39.5% 0.088 121.5);
Tailwind
colors: {
  custom: {
    50: '#767e51',
    500: '#3f4d0c',
    950: '#000000',
  },
}
SCSS
$custom: #3f4d0c;
$custom-light: #767e51;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4d0c",
  "rgb": {
    "r": 63,
    "g": 77,
    "b": 12
  },
  "hsl": {
    "h": 72.923,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.39454,
    "c": 0.08752,
    "h": 121.5
  },
  "luminance": 0.06391
}

Semantic roles & 50–950 ramp

primary
#3F4D0C
secondary
#402C89
accent
#38F060
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#090A02
muted
#7B7C78

Preview Lab

Preview with #3F4D0C

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

Preview Lab → · Contrast checker → · Palette generator →

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