#386E18#386E18

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

Color values

HEX#386E18
RGBrgb(56, 110, 24)
HSLhsl(98, 64%, 26%)
HSVhsv(98, 78%, 43%)
CMYKcmyk(49.1%, 0%, 78.2%, 56.9%)
CIE-LABlab(41.31, -33.79, 39.75)
CIE-LCHlch(41.31, 52.17, 130.37°)
OKLaboklab(48.28% -0.094 0.0891)
OKLCHoklch(48.28% 0.13 136.5)
XYZxyz(7.3715, 12.0581, 2.8030)
Luminance0.1206 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386E18 #4E186E
analogous
#636E18 #386E18 #186E23
triadic
#386E18 #18386E #6E1838
tetradic
#386E18 #18636E #4E186E #6E2318
square
#386E18 #18636E #4E186E #6E2318
split-complementary
#386E18 #23186E #6E1863
monochromatic
#0D1905 #1E3C0D #386E18 #52A023 #6BD22F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##386E18#FFFFFF#000000##FFFFFF
##386E181.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)
#726406
Deuteranopia (green-blind)
#6B6021
Tritanopia (blue-blind)
#356A5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #386e18;
/* rgb */ color: rgb(56, 110, 24);
/* oklch */ color: oklch(48.3% 0.130 136.5);
Tailwind
colors: {
  custom: {
    50: '#74985c',
    500: '#386e18',
    950: '#000000',
  },
}
SCSS
$custom: #386e18;
$custom-light: #74985c;
$custom-dark: #000000;
JSON
{
  "hex": "#386e18",
  "rgb": {
    "r": 56,
    "g": 110,
    "b": 24
  },
  "hsl": {
    "h": 97.674,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48277,
    "c": 0.12952,
    "h": 136.5
  },
  "luminance": 0.12059
}

Semantic roles & 50–950 ramp

primary
#386E18
secondary
#7E3EA4
accent
#41E7A9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #386E18

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

Preview Lab → · Contrast checker → · Palette generator →

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