#386018#386018

#386018 is a dark, moderate yellow-green. Relative luminance 0.093; OKLCH L 44.3% C 0.110 H 134.2°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#386018
RGBrgb(56, 96, 24)
HSLhsl(93, 60%, 24%)
HSVhsv(93, 75%, 38%)
CMYKcmyk(41.7%, 0%, 75%, 62.4%)
CIE-LABlab(36.50, -27.46, 34.93)
CIE-LCHlch(36.50, 44.43, 128.17°)
OKLaboklab(44.34% -0.0768 0.0791)
OKLCHoklch(44.34% 0.11 134.2)
XYZxyz(5.9785, 9.2721, 2.3387)
Luminance0.0927 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386018 #401860
analogous
#5C6018 #386018 #18601C
triadic
#386018 #183860 #601838
tetradic
#386018 #185C60 #401860 #601C18
square
#386018 #185C60 #401860 #601C18
split-complementary
#386018 #1C1860 #60185C
monochromatic
#0E1806 #1B2F0C #386018 #559124 #71C230

Accessibility & contrast

On white

7.36
#386018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#386018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #386018
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386018#FFFFFF#000000##FFFFFF
##3860181.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64580C
Deuteranopia (green-blind)
#5E551F
Tritanopia (blue-blind)
#385C52
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #386018;
/* rgb */ color: rgb(56, 96, 24);
/* oklch */ color: oklch(44.3% 0.110 134.2);
Tailwind
colors: {
  custom: {
    50: '#728d5a',
    500: '#386018',
    950: '#000000',
  },
}
SCSS
$custom: #386018;
$custom-light: #728d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#386018",
  "rgb": {
    "r": 56,
    "g": 96,
    "b": 24
  },
  "hsl": {
    "h": 93.333,
    "s": 60,
    "l": 23.529
  },
  "oklch": {
    "l": 0.44338,
    "c": 0.11024,
    "h": 134.2
  },
  "luminance": 0.09272
}

Semantic roles & 50–950 ramp

primary
#386018
secondary
#6F3D96
accent
#45E39D
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #386018

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

Preview Lab → · Contrast checker → · Palette generator →

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