#386312#386312

#386312 is a mid, moderate yellow-green. Relative luminance 0.098; OKLCH L 45.1% C 0.118 H 134.0°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#386312
RGBrgb(56, 99, 18)
HSLhsl(92, 69%, 23%)
HSVhsv(92, 82%, 39%)
CMYKcmyk(43.4%, 0%, 81.8%, 61.2%)
CIE-LABlab(37.50, -29.29, 38.27)
CIE-LCHlch(37.50, 48.19, 127.43°)
OKLaboklab(45.14% -0.0822 0.0851)
OKLCHoklch(45.14% 0.118 134)
XYZxyz(6.2018, 9.8078, 2.1385)
Luminance0.0981 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386312 #3D1263
analogous
#606312 #386312 #126314
triadic
#386312 #123863 #631238
tetradic
#386312 #126063 #3D1263 #631412
square
#386312 #126063 #3D1263 #631412
split-complementary
#386312 #141263 #631260
monochromatic
#0F1A05 #1B2F09 #386312 #55971B #73CB25

Accessibility & contrast

On white

7.09
#386312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#386312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #386312
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386312#FFFFFF#000000##FFFFFF
##3863121.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A01
Deuteranopia (green-blind)
#61571B
Tritanopia (blue-blind)
#385F54
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #386312;
/* rgb */ color: rgb(56, 99, 18);
/* oklch */ color: oklch(45.1% 0.118 134.0);
Tailwind
colors: {
  custom: {
    50: '#739057',
    500: '#386312',
    950: '#000000',
  },
}
SCSS
$custom: #386312;
$custom-light: #739057;
$custom-dark: #000000;
JSON
{
  "hex": "#386312",
  "rgb": {
    "r": 56,
    "g": 99,
    "b": 18
  },
  "hsl": {
    "h": 91.852,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.45137,
    "c": 0.11834,
    "h": 134
  },
  "luminance": 0.09808
}

Semantic roles & 50–950 ramp

primary
#386312
secondary
#6C369B
accent
#3CEC99
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #386312

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

Preview Lab → · Contrast checker → · Palette generator →

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