#386F12#386F12

#386F12 is a mid, vivid yellow-green. Relative luminance 0.123; OKLCH L 48.5% C 0.134 H 136.0°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#386F12
RGBrgb(56, 111, 18)
HSLhsl(95, 72%, 25%)
HSVhsv(95, 84%, 44%)
CMYKcmyk(49.5%, 0%, 83.8%, 56.5%)
CIE-LABlab(41.62, -34.61, 42.15)
CIE-LCHlch(41.62, 54.53, 129.39°)
OKLaboklab(48.52% -0.0965 0.0932)
OKLCHoklch(48.52% 0.134 136)
XYZxyz(7.4243, 12.2528, 2.5460)
Luminance0.1225 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386F12 #49126F
analogous
#666F12 #386F12 #126F1B
triadic
#386F12 #12386F #6F1238
tetradic
#386F12 #12666F #49126F #6F1B12
square
#386F12 #12666F #49126F #6F1B12
split-complementary
#386F12 #1B126F #6F1266
monochromatic
#0D1A04 #1D3A09 #386F12 #53A41B #6DD823

Accessibility & contrast

On white

6.09
#386F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#386F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #386F12
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386F12#FFFFFF#000000##FFFFFF
##386F121.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#6C611D
Tritanopia (blue-blind)
#366B5E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #386f12;
/* rgb */ color: rgb(56, 111, 18);
/* oklch */ color: oklch(48.5% 0.134 136.0);
Tailwind
colors: {
  custom: {
    50: '#759959',
    500: '#386f12',
    950: '#000000',
  },
}
SCSS
$custom: #386f12;
$custom-light: #759959;
$custom-dark: #000000;
JSON
{
  "hex": "#386f12",
  "rgb": {
    "r": 56,
    "g": 111,
    "b": 18
  },
  "hsl": {
    "h": 95.484,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48518,
    "c": 0.13419,
    "h": 136
  },
  "luminance": 0.12253
}

Semantic roles & 50–950 ramp

primary
#386F12
secondary
#7937A6
accent
#39EFA5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #386F12

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

Preview Lab → · Contrast checker → · Palette generator →

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