#386F17#386F17

#386F17 is a mid, vivid yellow-green. Relative luminance 0.123; OKLCH L 48.6% C 0.131 H 136.5°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#386F17
RGBrgb(56, 111, 23)
HSLhsl(98, 66%, 26%)
HSVhsv(98, 79%, 44%)
CMYKcmyk(49.5%, 0%, 79.3%, 56.5%)
CIE-LABlab(41.64, -34.29, 40.46)
CIE-LCHlch(41.64, 53.03, 130.29°)
OKLaboklab(48.55% -0.0954 0.0905)
OKLCHoklch(48.55% 0.131 136.5)
XYZxyz(7.4698, 12.2710, 2.7854)
Luminance0.1227 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386F17 #4E176F
analogous
#646F17 #386F17 #176F22
triadic
#386F17 #17386F #6F1738
tetradic
#386F17 #17646F #4E176F #6F2217
square
#386F17 #17646F #4E176F #6F2217
split-complementary
#386F17 #22176F #6F1764
monochromatic
#0D1905 #1E3C0C #386F17 #52A222 #6BD32D

Accessibility & contrast

On white

6.08
#386F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #386F17
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386F17#FFFFFF#000000##FFFFFF
##386F171.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736504
Deuteranopia (green-blind)
#6C6120
Tritanopia (blue-blind)
#356B5E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #386f17;
/* rgb */ color: rgb(56, 111, 23);
/* oklch */ color: oklch(48.6% 0.131 136.5);
Tailwind
colors: {
  custom: {
    50: '#75995b',
    500: '#386f17',
    950: '#000000',
  },
}
SCSS
$custom: #386f17;
$custom-light: #75995b;
$custom-dark: #000000;
JSON
{
  "hex": "#386f17",
  "rgb": {
    "r": 56,
    "g": 111,
    "b": 23
  },
  "hsl": {
    "h": 97.5,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48551,
    "c": 0.13145,
    "h": 136.5
  },
  "luminance": 0.12271
}

Semantic roles & 50–950 ramp

primary
#386F17
secondary
#7E3DA5
accent
#3FE9A9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #386F17

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

Preview Lab → · Contrast checker → · Palette generator →

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