#386512#386512

#386512 is a mid, vivid yellow-green. Relative luminance 0.102; OKLCH L 45.7% C 0.121 H 134.4°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#386512
RGBrgb(56, 101, 18)
HSLhsl(93, 70%, 23%)
HSVhsv(93, 82%, 40%)
CMYKcmyk(44.6%, 0%, 82.2%, 60.4%)
CIE-LABlab(38.18, -30.20, 38.93)
CIE-LCHlch(38.18, 49.27, 127.81°)
OKLaboklab(45.7% -0.0847 0.0865)
OKLCHoklch(45.7% 0.121 134.4)
XYZxyz(6.3936, 10.1914, 2.2024)
Luminance0.1019 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386512 #3F1265
analogous
#616512 #386512 #126515
triadic
#386512 #123865 #651238
tetradic
#386512 #126165 #3F1265 #651512
square
#386512 #126165 #3F1265 #651512
split-complementary
#386512 #151265 #651261
monochromatic
#0E1A05 #1B3109 #386512 #55991B #72CD25

Accessibility & contrast

On white

6.91
#386512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#386512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #386512
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386512#FFFFFF#000000##FFFFFF
##3865121.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C00
Deuteranopia (green-blind)
#63591B
Tritanopia (blue-blind)
#376156
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #386512;
/* rgb */ color: rgb(56, 101, 18);
/* oklch */ color: oklch(45.7% 0.121 134.4);
Tailwind
colors: {
  custom: {
    50: '#739157',
    500: '#386512',
    950: '#000000',
  },
}
SCSS
$custom: #386512;
$custom-light: #739157;
$custom-dark: #000000;
JSON
{
  "hex": "#386512",
  "rgb": {
    "r": 56,
    "g": 101,
    "b": 18
  },
  "hsl": {
    "h": 92.53,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45702,
    "c": 0.12103,
    "h": 134.4
  },
  "luminance": 0.10192
}

Semantic roles & 50–950 ramp

primary
#386512
secondary
#6E369D
accent
#3BED9B
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080D03
muted
#7B7D78

Preview Lab

Preview with #386512

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

Preview Lab → · Contrast checker → · Palette generator →

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