#386E1B#386E1B

#386E1B is a mid, vivid yellow-green. Relative luminance 0.121; OKLCH L 48.3% C 0.128 H 136.9°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#386E1B
RGBrgb(56, 110, 27)
HSLhsl(99, 61%, 27%)
HSVhsv(99, 75%, 43%)
CMYKcmyk(49.1%, 0%, 75.5%, 56.9%)
CIE-LABlab(41.33, -33.56, 38.60)
CIE-LCHlch(41.33, 51.15, 131.01°)
OKLaboklab(48.3% -0.0931 0.0872)
OKLCHoklch(48.3% 0.128 136.9)
XYZxyz(7.4044, 12.0713, 2.9765)
Luminance0.1207 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386E1B #511B6E
analogous
#626E1B #386E1B #1B6E28
triadic
#386E1B #1B386E #6E1B38
tetradic
#386E1B #1B626E #511B6E #6E281B
square
#386E1B #1B626E #511B6E #6E281B
split-complementary
#386E1B #281B6E #6E1B62
monochromatic
#0D1906 #1F3D0F #386E1B #519F27 #6BCE36

Accessibility & contrast

On white

6.15
#386E1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#386E1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #386E1B
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386E1B#FFFFFF#000000##FFFFFF
##386E1B1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72640D
Deuteranopia (green-blind)
#6B6023
Tritanopia (blue-blind)
#356A5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #386e1b;
/* rgb */ color: rgb(56, 110, 27);
/* oklch */ color: oklch(48.3% 0.128 136.9);
Tailwind
colors: {
  custom: {
    50: '#74985d',
    500: '#386e1b',
    950: '#000000',
  },
}
SCSS
$custom: #386e1b;
$custom-light: #74985d;
$custom-dark: #000000;
JSON
{
  "hex": "#386e1b",
  "rgb": {
    "r": 56,
    "g": 110,
    "b": 27
  },
  "hsl": {
    "h": 99.036,
    "s": 60.584,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48301,
    "c": 0.12757,
    "h": 136.9
  },
  "luminance": 0.12072
}

Semantic roles & 50–950 ramp

primary
#386E1B
secondary
#8142A3
accent
#44E4AC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #386E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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