#386F1B#386F1B

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

Color values

HEX#386F1B
RGBrgb(56, 111, 27)
HSLhsl(99, 61%, 27%)
HSVhsv(99, 76%, 44%)
CMYKcmyk(49.5%, 0%, 75.7%, 56.5%)
CIE-LABlab(41.67, -34.00, 38.94)
CIE-LCHlch(41.67, 51.69, 131.12°)
OKLaboklab(48.58% -0.0943 0.0879)
OKLCHoklch(48.58% 0.129 137)
XYZxyz(7.5129, 12.2883, 3.0127)
Luminance0.1229 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386F1B #521B6F
analogous
#626F1B #386F1B #1B6F28
triadic
#386F1B #1B386F #6F1B38
tetradic
#386F1B #1B626F #521B6F #6F281B
square
#386F1B #1B626F #521B6F #6F281B
split-complementary
#386F1B #281B6F #6F1B62
monochromatic
#0C1906 #1F3E0F #386F1B #51A027 #6BCE36

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##386F1B#FFFFFF#000000##FFFFFF
##386F1B1.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)
#73650C
Deuteranopia (green-blind)
#6C6123
Tritanopia (blue-blind)
#356B5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #386f1b;
/* rgb */ color: rgb(56, 111, 27);
/* oklch */ color: oklch(48.6% 0.129 137.0);
Tailwind
colors: {
  custom: {
    50: '#74995d',
    500: '#386f1b',
    950: '#000000',
  },
}
SCSS
$custom: #386f1b;
$custom-light: #74995d;
$custom-dark: #000000;
JSON
{
  "hex": "#386f1b",
  "rgb": {
    "r": 56,
    "g": 111,
    "b": 27
  },
  "hsl": {
    "h": 99.286,
    "s": 60.87,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48582,
    "c": 0.12892,
    "h": 137
  },
  "luminance": 0.12289
}

Semantic roles & 50–950 ramp

primary
#386F1B
secondary
#8242A4
accent
#44E4AD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #386F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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