#386E12#386E12

#386E12 is a mid, vivid yellow-green. Relative luminance 0.120; OKLCH L 48.2% C 0.133 H 135.9°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#386E12
RGBrgb(56, 110, 18)
HSLhsl(95, 72%, 25%)
HSVhsv(95, 84%, 43%)
CMYKcmyk(49.1%, 0%, 83.6%, 56.9%)
CIE-LABlab(41.27, -34.18, 41.83)
CIE-LCHlch(41.27, 54.02, 129.25°)
OKLaboklab(48.24% -0.0954 0.0925)
OKLCHoklch(48.24% 0.133 135.9)
XYZxyz(7.3158, 12.0358, 2.5098)
Luminance0.1204 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386E12 #48126E
analogous
#666E12 #386E12 #126E1A
triadic
#386E12 #12386E #6E1238
tetradic
#386E12 #12666E #48126E #6E1A12
square
#386E12 #12666E #48126E #6E1A12
split-complementary
#386E12 #1A126E #6E1266
monochromatic
#0D1A04 #1D3909 #386E12 #53A31B #6ED723

Accessibility & contrast

On white

6.16
#386E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#386E12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #386E12
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386E12#FFFFFF#000000##FFFFFF
##386E121.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#6B601D
Tritanopia (blue-blind)
#366A5D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #386e12;
/* rgb */ color: rgb(56, 110, 18);
/* oklch */ color: oklch(48.2% 0.133 135.9);
Tailwind
colors: {
  custom: {
    50: '#759859',
    500: '#386e12',
    950: '#000000',
  },
}
SCSS
$custom: #386e12;
$custom-light: #759859;
$custom-dark: #000000;
JSON
{
  "hex": "#386e12",
  "rgb": {
    "r": 56,
    "g": 110,
    "b": 18
  },
  "hsl": {
    "h": 95.217,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.48237,
    "c": 0.13289,
    "h": 135.9
  },
  "luminance": 0.12036
}

Semantic roles & 50–950 ramp

primary
#386E12
secondary
#7837A5
accent
#39EFA4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #386E12

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

Preview Lab → · Contrast checker → · Palette generator →

#386E12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva