#386318#386318

#386318 is a mid, moderate yellow-green. Relative luminance 0.098; OKLCH L 45.2% C 0.114 H 134.8°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#386318
RGBrgb(56, 99, 24)
HSLhsl(94, 61%, 24%)
HSVhsv(94, 76%, 39%)
CMYKcmyk(43.4%, 0%, 75.8%, 61.2%)
CIE-LABlab(37.54, -28.86, 35.98)
CIE-LCHlch(37.54, 46.13, 128.74°)
OKLaboklab(45.18% -0.0806 0.0813)
OKLCHoklch(45.18% 0.114 134.8)
XYZxyz(6.2575, 9.8301, 2.4317)
Luminance0.0983 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386318 #431863
analogous
#5E6318 #386318 #18631E
triadic
#386318 #183863 #631838
tetradic
#386318 #185E63 #431863 #631E18
square
#386318 #185E63 #431863 #631E18
split-complementary
#386318 #1E1863 #63185E
monochromatic
#0E1906 #1C320C #386318 #549424 #70C630

Accessibility & contrast

On white

7.08
#386318 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#386318 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #386318
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386318#FFFFFF#000000##FFFFFF
##3863181.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B0B
Deuteranopia (green-blind)
#61571F
Tritanopia (blue-blind)
#375F54
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #386318;
/* rgb */ color: rgb(56, 99, 24);
/* oklch */ color: oklch(45.2% 0.114 134.8);
Tailwind
colors: {
  custom: {
    50: '#73905a',
    500: '#386318',
    950: '#000000',
  },
}
SCSS
$custom: #386318;
$custom-light: #73905a;
$custom-dark: #000000;
JSON
{
  "hex": "#386318",
  "rgb": {
    "r": 56,
    "g": 99,
    "b": 24
  },
  "hsl": {
    "h": 94.4,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45183,
    "c": 0.11448,
    "h": 134.8
  },
  "luminance": 0.0983
}

Semantic roles & 50–950 ramp

primary
#386318
secondary
#723E99
accent
#44E4A0
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #386318

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

Preview Lab → · Contrast checker → · Palette generator →

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