#386417#386417

#386417 is a mid, moderate yellow-green. Relative luminance 0.100; OKLCH L 45.5% C 0.117 H 134.8°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#386417
RGBrgb(56, 100, 23)
HSLhsl(94, 63%, 24%)
HSVhsv(94, 77%, 39%)
CMYKcmyk(44%, 0%, 77%, 60.8%)
CIE-LABlab(37.87, -29.40, 36.73)
CIE-LCHlch(37.87, 47.05, 128.68°)
OKLaboklab(45.46% -0.0822 0.0827)
OKLCHoklch(45.46% 0.117 134.8)
XYZxyz(6.3426, 10.0166, 2.4096)
Luminance0.1002 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386417 #431764
analogous
#5F6417 #386417 #17641D
triadic
#386417 #173864 #641738
tetradic
#386417 #175F64 #431764 #641D17
square
#386417 #175F64 #431764 #641D17
split-complementary
#386417 #1D1764 #64175F
monochromatic
#0E1906 #1C320C #386417 #549622 #70C82E

Accessibility & contrast

On white

6.99
#386417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#386417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #386417
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386417#FFFFFF#000000##FFFFFF
##3864171.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B09
Deuteranopia (green-blind)
#62581E
Tritanopia (blue-blind)
#376055
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #386417;
/* rgb */ color: rgb(56, 100, 23);
/* oklch */ color: oklch(45.5% 0.117 134.8);
Tailwind
colors: {
  custom: {
    50: '#73905a',
    500: '#386417',
    950: '#000000',
  },
}
SCSS
$custom: #386417;
$custom-light: #73905a;
$custom-dark: #000000;
JSON
{
  "hex": "#386417",
  "rgb": {
    "r": 56,
    "g": 100,
    "b": 23
  },
  "hsl": {
    "h": 94.286,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45457,
    "c": 0.11657,
    "h": 134.8
  },
  "luminance": 0.10017
}

Semantic roles & 50–950 ramp

primary
#386417
secondary
#723C9A
accent
#42E6A0
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #386417

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

Preview Lab → · Contrast checker → · Palette generator →

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