#3E5312#3E5312

#3E5312 is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 41.1% C 0.092 H 126.0°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#3E5312
RGBrgb(62, 83, 18)
HSLhsl(79, 64%, 20%)
HSVhsv(79, 78%, 33%)
CMYKcmyk(25.3%, 0%, 78.3%, 67.5%)
CIE-LABlab(32.38, -18.85, 33.43)
CIE-LCHlch(32.38, 38.38, 119.41°)
OKLaboklab(41.07% -0.0543 0.0748)
OKLCHoklch(41.07% 0.092 126)
XYZxyz(5.1891, 7.2542, 1.6990)
Luminance0.0725 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5312 #271253
analogous
#534812 #3E5312 #1D5312
triadic
#3E5312 #123E53 #53123E
tetradic
#3E5312 #125348 #271253 #53121D
square
#3E5312 #125348 #271253 #53121D
split-complementary
#3E5312 #121D53 #481253
monochromatic
#131905 #182107 #3E5312 #64851D #89B828

Accessibility & contrast

On white

8.57
#3E5312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#3E5312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E5312
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5312#FFFFFF#000000##FFFFFF
##3E53121.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D07
Deuteranopia (green-blind)
#554C18
Tritanopia (blue-blind)
#414F46
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3e5312;
/* rgb */ color: rgb(62, 83, 18);
/* oklch */ color: oklch(41.1% 0.092 126.0);
Tailwind
colors: {
  custom: {
    50: '#768355',
    500: '#3e5312',
    950: '#000000',
  },
}
SCSS
$custom: #3e5312;
$custom-light: #768355;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5312",
  "rgb": {
    "r": 62,
    "g": 83,
    "b": 18
  },
  "hsl": {
    "h": 79.385,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.41066,
    "c": 0.09246,
    "h": 126
  },
  "luminance": 0.07254
}

Semantic roles & 50–950 ramp

primary
#3E5312
secondary
#51358C
accent
#40E776
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #3E5312

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

Preview Lab → · Contrast checker → · Palette generator →

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