#3E4A0C#3E4A0C

#3E4A0C is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.5% C 0.084 H 120.3°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#3E4A0C
RGBrgb(62, 74, 12)
HSLhsl(72, 72%, 17%)
HSVhsv(72, 84%, 29%)
CMYKcmyk(16.2%, 0%, 83.8%, 71%)
CIE-LABlab(29.28, -14.27, 32.85)
CIE-LCHlch(29.28, 35.82, 113.49°)
OKLaboklab(38.55% -0.0423 0.0724)
OKLCHoklch(38.55% 0.084 120.3)
XYZxyz(4.5018, 5.9483, 1.2587)
Luminance0.0595 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4A0C #180C4A
analogous
#4A370C #3E4A0C #1F4A0C
triadic
#3E4A0C #0C3E4A #4A0C3E
tetradic
#3E4A0C #0C4A37 #180C4A #4A0C1F
square
#3E4A0C #0C4A37 #180C4A #4A0C1F
split-complementary
#3E4A0C #0C1F4A #370C4A
monochromatic
#161A04 #161A04 #3E4A0C #6A7F15 #96B31D

Accessibility & contrast

On white

9.59
#3E4A0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#3E4A0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4A0C
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4A0C#FFFFFF#000000##FFFFFF
##3E4A0C1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4501
Deuteranopia (green-blind)
#4E4512
Tritanopia (blue-blind)
#42463E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3e4a0c;
/* rgb */ color: rgb(62, 74, 12);
/* oklch */ color: oklch(38.5% 0.084 120.3);
Tailwind
colors: {
  custom: {
    50: '#767c51',
    500: '#3e4a0c',
    950: '#000000',
  },
}
SCSS
$custom: #3e4a0c;
$custom-light: #767c51;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4a0c",
  "rgb": {
    "r": 62,
    "g": 74,
    "b": 12
  },
  "hsl": {
    "h": 71.613,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.38549,
    "c": 0.08391,
    "h": 120.3
  },
  "luminance": 0.05948
}

Semantic roles & 50–950 ramp

primary
#3E4A0C
secondary
#3D2C86
accent
#39EF5C
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #3E4A0C

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

Preview Lab → · Contrast checker → · Palette generator →

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