#386F18#386F18

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

Color values

HEX#386F18
RGBrgb(56, 111, 24)
HSLhsl(98, 64%, 26%)
HSVhsv(98, 78%, 44%)
CMYKcmyk(49.5%, 0%, 78.4%, 56.5%)
CIE-LABlab(41.65, -34.22, 40.09)
CIE-LCHlch(41.65, 52.71, 130.49°)
OKLaboklab(48.56% -0.0951 0.0899)
OKLCHoklch(48.56% 0.131 136.6)
XYZxyz(7.4800, 12.2751, 2.8392)
Luminance0.1228 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386F18 #4F186F
analogous
#646F18 #386F18 #186F24
triadic
#386F18 #18386F #6F1838
tetradic
#386F18 #18646F #4F186F #6F2418
square
#386F18 #18646F #4F186F #6F2418
split-complementary
#386F18 #24186F #6F1864
monochromatic
#0D1905 #1F3D0D #386F18 #51A123 #6BD22F

Accessibility & contrast

On white

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

On black

3.46
#386F18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##386F18#FFFFFF#000000##FFFFFF
##386F181.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #386f18;
/* rgb */ color: rgb(56, 111, 24);
/* oklch */ color: oklch(48.6% 0.131 136.6);
Tailwind
colors: {
  custom: {
    50: '#74995c',
    500: '#386f18',
    950: '#000000',
  },
}
SCSS
$custom: #386f18;
$custom-light: #74995c;
$custom-dark: #000000;
JSON
{
  "hex": "#386f18",
  "rgb": {
    "r": 56,
    "g": 111,
    "b": 24
  },
  "hsl": {
    "h": 97.931,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48558,
    "c": 0.13085,
    "h": 136.6
  },
  "luminance": 0.12276
}

Semantic roles & 50–950 ramp

primary
#386F18
secondary
#7F3EA5
accent
#40E7AA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #386F18

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

Preview Lab → · Contrast checker → · Palette generator →

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