#386912#386912

#386912 is a mid, vivid yellow-green. Relative luminance 0.110; OKLCH L 46.8% C 0.126 H 135.1°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#386912
RGBrgb(56, 105, 18)
HSLhsl(94, 71%, 24%)
HSVhsv(94, 83%, 41%)
CMYKcmyk(46.7%, 0%, 82.9%, 58.8%)
CIE-LABlab(39.56, -32.00, 40.23)
CIE-LCHlch(39.56, 51.40, 128.50°)
OKLaboklab(46.83% -0.0895 0.0892)
OKLCHoklch(46.83% 0.126 135.1)
XYZxyz(6.7915, 10.9872, 2.3350)
Luminance0.1099 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386912 #431269
analogous
#646912 #386912 #126918
triadic
#386912 #123869 #691238
tetradic
#386912 #126469 #431269 #691812
square
#386912 #126469 #431269 #691812
split-complementary
#386912 #181269 #691264
monochromatic
#0E1A04 #1C3509 #386912 #549D1B #70D124

Accessibility & contrast

On white

6.57
#386912 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#386912 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #386912
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386912#FFFFFF#000000##FFFFFF
##3869121.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6000
Deuteranopia (green-blind)
#675C1C
Tritanopia (blue-blind)
#376559
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #386912;
/* rgb */ color: rgb(56, 105, 18);
/* oklch */ color: oklch(46.8% 0.126 135.1);
Tailwind
colors: {
  custom: {
    50: '#749458',
    500: '#386912',
    950: '#000000',
  },
}
SCSS
$custom: #386912;
$custom-light: #749458;
$custom-dark: #000000;
JSON
{
  "hex": "#386912",
  "rgb": {
    "r": 56,
    "g": 105,
    "b": 18
  },
  "hsl": {
    "h": 93.793,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.46829,
    "c": 0.12637,
    "h": 135.1
  },
  "luminance": 0.10988
}

Semantic roles & 50–950 ramp

primary
#386912
secondary
#7236A1
accent
#3AED9F
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #386912

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

Preview Lab → · Contrast checker → · Palette generator →

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