#386212#386212

#386212 is a dark, moderate yellow-green. Relative luminance 0.096; OKLCH L 44.9% C 0.117 H 133.8°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#386212
RGBrgb(56, 98, 18)
HSLhsl(92, 69%, 23%)
HSVhsv(92, 82%, 38%)
CMYKcmyk(42.9%, 0%, 81.6%, 61.6%)
CIE-LABlab(37.15, -28.83, 37.94)
CIE-LCHlch(37.15, 47.65, 127.23°)
OKLaboklab(44.86% -0.081 0.0844)
OKLCHoklch(44.86% 0.117 133.8)
XYZxyz(6.1076, 9.6195, 2.1071)
Luminance0.0962 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386212 #3C1262
analogous
#606212 #386212 #126214
triadic
#386212 #123862 #621238
tetradic
#386212 #126062 #3C1262 #621412
square
#386212 #126062 #3C1262 #621412
split-complementary
#386212 #141262 #621260
monochromatic
#0F1A05 #1A2E09 #386212 #56961B #73C925

Accessibility & contrast

On white

7.18
#386212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#386212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #386212
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386212#FFFFFF#000000##FFFFFF
##3862121.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A01
Deuteranopia (green-blind)
#61561A
Tritanopia (blue-blind)
#385E53
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #386212;
/* rgb */ color: rgb(56, 98, 18);
/* oklch */ color: oklch(44.9% 0.117 133.8);
Tailwind
colors: {
  custom: {
    50: '#738f57',
    500: '#386212',
    950: '#000000',
  },
}
SCSS
$custom: #386212;
$custom-light: #738f57;
$custom-dark: #000000;
JSON
{
  "hex": "#386212",
  "rgb": {
    "r": 56,
    "g": 98,
    "b": 18
  },
  "hsl": {
    "h": 91.5,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.44855,
    "c": 0.11697,
    "h": 133.8
  },
  "luminance": 0.0962
}

Semantic roles & 50–950 ramp

primary
#386212
secondary
#6A369A
accent
#3CEC98
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #386212

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

Preview Lab → · Contrast checker → · Palette generator →

#386212 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva