#386F1A#386F1A

#386F1A is a mid, vivid yellow-green. Relative luminance 0.123; OKLCH L 48.6% C 0.130 H 136.9°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#386F1A
RGBrgb(56, 111, 26)
HSLhsl(99, 62%, 27%)
HSVhsv(99, 77%, 44%)
CMYKcmyk(49.5%, 0%, 76.6%, 56.5%)
CIE-LABlab(41.66, -34.08, 39.33)
CIE-LCHlch(41.66, 52.04, 130.90°)
OKLaboklab(48.57% -0.0946 0.0886)
OKLCHoklch(48.57% 0.13 136.9)
XYZxyz(7.5016, 12.2837, 2.9528)
Luminance0.1228 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386F1A #511A6F
analogous
#636F1A #386F1A #1A6F27
triadic
#386F1A #1A386F #6F1A38
tetradic
#386F1A #1A636F #511A6F #6F271A
square
#386F1A #1A636F #511A6F #6F271A
split-complementary
#386F1A #271A6F #6F1A63
monochromatic
#0D1906 #1F3D0E #386F1A #51A126 #6BCF34

Accessibility & contrast

On white

6.07
#386F1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#386F1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #386F1A
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386F1A#FFFFFF#000000##FFFFFF
##386F1A1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73650A
Deuteranopia (green-blind)
#6C6122
Tritanopia (blue-blind)
#356B5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #386f1a;
/* rgb */ color: rgb(56, 111, 26);
/* oklch */ color: oklch(48.6% 0.130 136.9);
Tailwind
colors: {
  custom: {
    50: '#74995d',
    500: '#386f1a',
    950: '#000000',
  },
}
SCSS
$custom: #386f1a;
$custom-light: #74995d;
$custom-dark: #000000;
JSON
{
  "hex": "#386f1a",
  "rgb": {
    "r": 56,
    "g": 111,
    "b": 26
  },
  "hsl": {
    "h": 98.824,
    "s": 62.044,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48574,
    "c": 0.12958,
    "h": 136.9
  },
  "luminance": 0.12284
}

Semantic roles & 50–950 ramp

primary
#386F1A
secondary
#8141A4
accent
#43E5AC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #386F1A

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

Preview Lab → · Contrast checker → · Palette generator →

#386F1A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva