#3F4E0C#3F4E0C

#3F4E0C is a dark, moderate yellow-green. Relative luminance 0.065; OKLCH L 39.7% C 0.089 H 122.1°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#3F4E0C
RGBrgb(63, 78, 12)
HSLhsl(74, 73%, 18%)
HSVhsv(74, 85%, 31%)
CMYKcmyk(19.2%, 0%, 84.6%, 69.4%)
CIE-LABlab(30.72, -16.03, 34.22)
CIE-LCHlch(30.72, 37.78, 115.10°)
OKLaboklab(39.73% -0.0472 0.0753)
OKLCHoklch(39.73% 0.089 122.1)
XYZxyz(4.8407, 6.5321, 1.3536)
Luminance0.0653 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4E0C #1B0C4E
analogous
#4E3C0C #3F4E0C #1E4E0C
triadic
#3F4E0C #0C3F4E #4E0C3F
tetradic
#3F4E0C #0C4E3C #1B0C4E #4E0C1E
square
#3F4E0C #0C4E3C #1B0C4E #4E0C1E
split-complementary
#3F4E0C #0C1E4E #3C0C4E
monochromatic
#151B04 #151B04 #3F4E0C #6A8314 #95B81C

Accessibility & contrast

On white

9.11
#3F4E0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#3F4E0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4E0C
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4E0C#FFFFFF#000000##FFFFFF
##3F4E0C1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534900
Deuteranopia (green-blind)
#514812
Tritanopia (blue-blind)
#434A42
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3f4e0c;
/* rgb */ color: rgb(63, 78, 12);
/* oklch */ color: oklch(39.7% 0.089 122.1);
Tailwind
colors: {
  custom: {
    50: '#777f51',
    500: '#3f4e0c',
    950: '#000000',
  },
}
SCSS
$custom: #3f4e0c;
$custom-light: #777f51;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4e0c",
  "rgb": {
    "r": 63,
    "g": 78,
    "b": 12
  },
  "hsl": {
    "h": 73.636,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.39728,
    "c": 0.08888,
    "h": 122.1
  },
  "luminance": 0.06532
}

Semantic roles & 50–950 ramp

primary
#3F4E0C
secondary
#412C8A
accent
#38F062
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#090A02
muted
#7B7C78

Preview Lab

Preview with #3F4E0C

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

Preview Lab → · Contrast checker → · Palette generator →

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