#386118#386118

#386118 is a dark, moderate yellow-green. Relative luminance 0.095; OKLCH L 44.6% C 0.112 H 134.4°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#386118
RGBrgb(56, 97, 24)
HSLhsl(94, 60%, 24%)
HSVhsv(94, 75%, 38%)
CMYKcmyk(42.3%, 0%, 75.3%, 62%)
CIE-LABlab(36.85, -27.93, 35.28)
CIE-LCHlch(36.85, 45.00, 128.37°)
OKLaboklab(44.62% -0.0781 0.0798)
OKLCHoklch(44.62% 0.112 134.4)
XYZxyz(6.0703, 9.4558, 2.3693)
Luminance0.0946 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386118 #411861
analogous
#5C6118 #386118 #18611C
triadic
#386118 #183861 #611838
tetradic
#386118 #185C61 #411861 #611C18
square
#386118 #185C61 #411861 #611C18
split-complementary
#386118 #1C1861 #61185C
monochromatic
#0E1906 #1C300C #386118 #549224 #71C330

Accessibility & contrast

On white

7.26
#386118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#386118 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #386118
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386118#FFFFFF#000000##FFFFFF
##3861181.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65590C
Deuteranopia (green-blind)
#5F551F
Tritanopia (blue-blind)
#375D53
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #386118;
/* rgb */ color: rgb(56, 97, 24);
/* oklch */ color: oklch(44.6% 0.112 134.4);
Tailwind
colors: {
  custom: {
    50: '#738e5a',
    500: '#386118',
    950: '#000000',
  },
}
SCSS
$custom: #386118;
$custom-light: #738e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#386118",
  "rgb": {
    "r": 56,
    "g": 97,
    "b": 24
  },
  "hsl": {
    "h": 93.699,
    "s": 60.331,
    "l": 23.725
  },
  "oklch": {
    "l": 0.4462,
    "c": 0.11166,
    "h": 134.4
  },
  "luminance": 0.09456
}

Semantic roles & 50–950 ramp

primary
#386118
secondary
#703D97
accent
#44E39E
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #386118

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

Preview Lab → · Contrast checker → · Palette generator →

#386118 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva