#386C17#386C17

#386C17 is a mid, vivid yellow-green. Relative luminance 0.116; OKLCH L 47.7% C 0.127 H 136.1°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#386C17
RGBrgb(56, 108, 23)
HSLhsl(97, 65%, 26%)
HSVhsv(97, 79%, 42%)
CMYKcmyk(48.1%, 0%, 78.7%, 57.6%)
CIE-LABlab(40.62, -32.99, 39.45)
CIE-LCHlch(40.62, 51.43, 129.90°)
OKLaboklab(47.71% -0.0919 0.0884)
OKLCHoklch(47.71% 0.127 136.1)
XYZxyz(7.1479, 11.6273, 2.6781)
Luminance0.1163 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386C17 #4B176C
analogous
#626C17 #386C17 #176C21
triadic
#386C17 #17386C #6C1738
tetradic
#386C17 #17626C #4B176C #6C2117
square
#386C17 #17626C #4B176C #6C2117
split-complementary
#386C17 #21176C #6C1762
monochromatic
#0D1905 #1E3A0C #386C17 #529E22 #6CD12C

Accessibility & contrast

On white

6.31
#386C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#386C17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #386C17
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386C17#FFFFFF#000000##FFFFFF
##386C171.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706205
Deuteranopia (green-blind)
#695E20
Tritanopia (blue-blind)
#36685C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #386c17;
/* rgb */ color: rgb(56, 108, 23);
/* oklch */ color: oklch(47.7% 0.127 136.1);
Tailwind
colors: {
  custom: {
    50: '#74965b',
    500: '#386c17',
    950: '#000000',
  },
}
SCSS
$custom: #386c17;
$custom-light: #74965b;
$custom-dark: #000000;
JSON
{
  "hex": "#386c17",
  "rgb": {
    "r": 56,
    "g": 108,
    "b": 23
  },
  "hsl": {
    "h": 96.706,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.47708,
    "c": 0.12747,
    "h": 136.1
  },
  "luminance": 0.11628
}

Semantic roles & 50–950 ramp

primary
#386C17
secondary
#7B3DA2
accent
#40E8A7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #386C17

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

Preview Lab → · Contrast checker → · Palette generator →

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