#386317#386317

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

Color values

HEX#386317
RGBrgb(56, 99, 23)
HSLhsl(94, 62%, 24%)
HSVhsv(94, 77%, 39%)
CMYKcmyk(43.4%, 0%, 76.8%, 61.2%)
CIE-LABlab(37.53, -28.94, 36.39)
CIE-LCHlch(37.53, 46.49, 128.50°)
OKLaboklab(45.18% -0.0809 0.082)
OKLCHoklch(45.18% 0.115 134.6)
XYZxyz(6.2473, 9.8260, 2.3779)
Luminance0.0983 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386317 #421763
analogous
#5E6317 #386317 #17631C
triadic
#386317 #173863 #631738
tetradic
#386317 #175E63 #421763 #631C17
square
#386317 #175E63 #421763 #631C17
split-complementary
#386317 #1C1763 #63175E
monochromatic
#0E1906 #1C310B #386317 #549523 #70C62E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##386317#FFFFFF#000000##FFFFFF
##3863171.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)
#675B09
Deuteranopia (green-blind)
#61571E
Tritanopia (blue-blind)
#375F54
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #386317;
/* rgb */ color: rgb(56, 99, 23);
/* oklch */ color: oklch(45.2% 0.115 134.6);
Tailwind
colors: {
  custom: {
    50: '#73905a',
    500: '#386317',
    950: '#000000',
  },
}
SCSS
$custom: #386317;
$custom-light: #73905a;
$custom-dark: #000000;
JSON
{
  "hex": "#386317",
  "rgb": {
    "r": 56,
    "g": 99,
    "b": 23
  },
  "hsl": {
    "h": 93.947,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45175,
    "c": 0.11518,
    "h": 134.6
  },
  "luminance": 0.09826
}

Semantic roles & 50–950 ramp

primary
#386317
secondary
#713C9A
accent
#42E59F
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #386317

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

Preview Lab → · Contrast checker → · Palette generator →

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