#386F16#386F16

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

Color values

HEX#386F16
RGBrgb(56, 111, 22)
HSLhsl(97, 67%, 26%)
HSVhsv(97, 80%, 44%)
CMYKcmyk(49.5%, 0%, 80.2%, 56.5%)
CIE-LABlab(41.64, -34.36, 40.81)
CIE-LCHlch(41.64, 53.35, 130.10°)
OKLaboklab(48.54% -0.0956 0.0911)
OKLCHoklch(48.54% 0.132 136.4)
XYZxyz(7.4599, 12.2671, 2.7336)
Luminance0.1227 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386F16 #4D166F
analogous
#646F16 #386F16 #166F21
triadic
#386F16 #16386F #6F1638
tetradic
#386F16 #16646F #4D166F #6F2116
square
#386F16 #16646F #4D166F #6F2116
split-complementary
#386F16 #21166F #6F1664
monochromatic
#0D1A05 #1E3C0C #386F16 #52A220 #6CD52B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##386F16#FFFFFF#000000##FFFFFF
##386F161.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)
#736502
Deuteranopia (green-blind)
#6C6120
Tritanopia (blue-blind)
#356B5E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #386f16;
/* rgb */ color: rgb(56, 111, 22);
/* oklch */ color: oklch(48.5% 0.132 136.4);
Tailwind
colors: {
  custom: {
    50: '#75995b',
    500: '#386f16',
    950: '#000000',
  },
}
SCSS
$custom: #386f16;
$custom-light: #75995b;
$custom-dark: #000000;
JSON
{
  "hex": "#386f16",
  "rgb": {
    "r": 56,
    "g": 111,
    "b": 22
  },
  "hsl": {
    "h": 97.079,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48544,
    "c": 0.13204,
    "h": 136.4
  },
  "luminance": 0.12268
}

Semantic roles & 50–950 ramp

primary
#386F16
secondary
#7D3CA5
accent
#3EEAA8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #386F16

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

Preview Lab → · Contrast checker → · Palette generator →

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