#386E15#386E15

#386E15 is a mid, vivid yellow-green. Relative luminance 0.120; OKLCH L 48.3% C 0.131 H 136.2°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#386E15
RGBrgb(56, 110, 21)
HSLhsl(96, 68%, 26%)
HSVhsv(96, 81%, 43%)
CMYKcmyk(49.1%, 0%, 80.9%, 56.9%)
CIE-LABlab(41.29, -34.00, 40.83)
CIE-LCHlch(41.29, 53.13, 129.78°)
OKLaboklab(48.26% -0.0947 0.0909)
OKLCHoklch(48.26% 0.131 136.2)
XYZxyz(7.3420, 12.0463, 2.6476)
Luminance0.1205 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#386E15 #4B156E
analogous
#646E15 #386E15 #156E1E
triadic
#386E15 #15386E #6E1538
tetradic
#386E15 #15646E #4B156E #6E1E15
square
#386E15 #15646E #4B156E #6E1E15
split-complementary
#386E15 #1E156E #6E1564
monochromatic
#0D1A05 #1E3B0B #386E15 #52A11F #6CD529

Accessibility & contrast

On white

6.16
#386E15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #386E15
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##386E15#FFFFFF#000000##FFFFFF
##386E151.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726401
Deuteranopia (green-blind)
#6B601F
Tritanopia (blue-blind)
#366A5D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #386e15;
/* rgb */ color: rgb(56, 110, 21);
/* oklch */ color: oklch(48.3% 0.131 136.2);
Tailwind
colors: {
  custom: {
    50: '#74985a',
    500: '#386e15',
    950: '#000000',
  },
}
SCSS
$custom: #386e15;
$custom-light: #74985a;
$custom-dark: #000000;
JSON
{
  "hex": "#386e15",
  "rgb": {
    "r": 56,
    "g": 110,
    "b": 21
  },
  "hsl": {
    "h": 96.404,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48256,
    "c": 0.13129,
    "h": 136.2
  },
  "luminance": 0.12047
}

Semantic roles & 50–950 ramp

primary
#386E15
secondary
#7B3AA4
accent
#3DEBA6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #386E15

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

Preview Lab → · Contrast checker → · Palette generator →

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