#386915#386915

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

Color values

HEX#386915
RGBrgb(56, 105, 21)
HSLhsl(95, 67%, 25%)
HSVhsv(95, 80%, 41%)
CMYKcmyk(46.7%, 0%, 80%, 58.8%)
CIE-LABlab(39.58, -31.81, 39.18)
CIE-LCHlch(39.58, 50.47, 129.07°)
OKLaboklab(46.85% -0.0888 0.0875)
OKLCHoklch(46.85% 0.125 135.4)
XYZxyz(6.8177, 10.9976, 2.4728)
Luminance0.1100 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386915 #461569
analogous
#626915 #386915 #15691C
triadic
#386915 #153869 #691538
tetradic
#386915 #156269 #461569 #691C15
square
#386915 #156269 #461569 #691C15
split-complementary
#386915 #1C1569 #691562
monochromatic
#0E1A05 #1D360B #386915 #539C1F #6ECF29

Accessibility & contrast

On white

6.56
#386915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #386915
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386915#FFFFFF#000000##FFFFFF
##3869151.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6003
Deuteranopia (green-blind)
#675C1E
Tritanopia (blue-blind)
#366559
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #386915;
/* rgb */ color: rgb(56, 105, 21);
/* oklch */ color: oklch(46.8% 0.125 135.4);
Tailwind
colors: {
  custom: {
    50: '#749459',
    500: '#386915',
    950: '#000000',
  },
}
SCSS
$custom: #386915;
$custom-light: #749459;
$custom-dark: #000000;
JSON
{
  "hex": "#386915",
  "rgb": {
    "r": 56,
    "g": 105,
    "b": 21
  },
  "hsl": {
    "h": 95,
    "s": 66.667,
    "l": 24.706
  },
  "oklch": {
    "l": 0.46849,
    "c": 0.12466,
    "h": 135.4
  },
  "luminance": 0.10998
}

Semantic roles & 50–950 ramp

primary
#386915
secondary
#753AA0
accent
#3EEAA2
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #386915

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

Preview Lab → · Contrast checker → · Palette generator →

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