#386E16#386E16

#386E16 is a mid, vivid yellow-green. Relative luminance 0.121; OKLCH L 48.3% C 0.131 H 136.3°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#386E16
RGBrgb(56, 110, 22)
HSLhsl(97, 67%, 26%)
HSVhsv(97, 80%, 43%)
CMYKcmyk(49.1%, 0%, 80%, 56.9%)
CIE-LABlab(41.30, -33.93, 40.48)
CIE-LCHlch(41.30, 52.82, 129.97°)
OKLaboklab(48.26% -0.0945 0.0904)
OKLCHoklch(48.26% 0.131 136.3)
XYZxyz(7.3514, 12.0501, 2.6974)
Luminance0.1205 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386E16 #4C166E
analogous
#646E16 #386E16 #166E20
triadic
#386E16 #16386E #6E1638
tetradic
#386E16 #16646E #4C166E #6E2016
square
#386E16 #16646E #4C166E #6E2016
split-complementary
#386E16 #20166E #6E1664
monochromatic
#0D1A05 #1E3B0C #386E16 #52A120 #6CD42A

Accessibility & contrast

On white

6.16
#386E16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#386E16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #386E16
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386E16#FFFFFF#000000##FFFFFF
##386E161.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726403
Deuteranopia (green-blind)
#6B601F
Tritanopia (blue-blind)
#366A5D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #386e16;
/* rgb */ color: rgb(56, 110, 22);
/* oklch */ color: oklch(48.3% 0.131 136.3);
Tailwind
colors: {
  custom: {
    50: '#74985b',
    500: '#386e16',
    950: '#000000',
  },
}
SCSS
$custom: #386e16;
$custom-light: #74985b;
$custom-dark: #000000;
JSON
{
  "hex": "#386e16",
  "rgb": {
    "r": 56,
    "g": 110,
    "b": 22
  },
  "hsl": {
    "h": 96.818,
    "s": 66.667,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48263,
    "c": 0.13072,
    "h": 136.3
  },
  "luminance": 0.12051
}

Semantic roles & 50–950 ramp

primary
#386E16
secondary
#7C3CA4
accent
#3EEAA7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #386E16

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

Preview Lab → · Contrast checker → · Palette generator →

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