#3E4C0C#3E4C0C

#3E4C0C is a dark, moderate yellow-green. Relative luminance 0.062; OKLCH L 39.1% C 0.087 H 121.6°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#3E4C0C
RGBrgb(62, 76, 12)
HSLhsl(73, 73%, 17%)
HSVhsv(73, 84%, 30%)
CMYKcmyk(18.4%, 0%, 84.2%, 70.2%)
CIE-LABlab(29.96, -15.40, 33.48)
CIE-LCHlch(29.96, 36.85, 114.69°)
OKLaboklab(39.1% -0.0454 0.0738)
OKLCHoklch(39.1% 0.087 121.6)
XYZxyz(4.6375, 6.2196, 1.3039)
Luminance0.0622 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4C0C #1A0C4C
analogous
#4C3A0C #3E4C0C #1E4C0C
triadic
#3E4C0C #0C3E4C #4C0C3E
tetradic
#3E4C0C #0C4C3A #1A0C4C #4C0C1E
square
#3E4C0C #0C4C3A #1A0C4C #4C0C1E
split-complementary
#3E4C0C #0C1E4C #3A0C4C
monochromatic
#161A04 #161A04 #3E4C0C #698114 #94B61D

Accessibility & contrast

On white

9.36
#3E4C0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#3E4C0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4C0C
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4C0C#FFFFFF#000000##FFFFFF
##3E4C0C1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514701
Deuteranopia (green-blind)
#4F4712
Tritanopia (blue-blind)
#424840
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3e4c0c;
/* rgb */ color: rgb(62, 76, 12);
/* oklch */ color: oklch(39.1% 0.087 121.6);
Tailwind
colors: {
  custom: {
    50: '#767e51',
    500: '#3e4c0c',
    950: '#000000',
  },
}
SCSS
$custom: #3e4c0c;
$custom-light: #767e51;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4c0c",
  "rgb": {
    "r": 62,
    "g": 76,
    "b": 12
  },
  "hsl": {
    "h": 73.125,
    "s": 72.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.39096,
    "c": 0.08665,
    "h": 121.6
  },
  "luminance": 0.0622
}

Semantic roles & 50–950 ramp

primary
#3E4C0C
secondary
#402C88
accent
#38EF60
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #3E4C0C

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

Preview Lab → · Contrast checker → · Palette generator →

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