#387112#387112

#387112 is a mid, vivid yellow-green. Relative luminance 0.127; OKLCH L 49.1% C 0.137 H 136.3°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#387112
RGBrgb(56, 113, 18)
HSLhsl(96, 73%, 26%)
HSVhsv(96, 84%, 44%)
CMYKcmyk(50.4%, 0%, 84.1%, 55.7%)
CIE-LABlab(42.30, -35.46, 42.78)
CIE-LCHlch(42.30, 55.56, 129.65°)
OKLaboklab(49.08% -0.0988 0.0945)
OKLCHoklch(49.08% 0.137 136.3)
XYZxyz(7.6450, 12.6942, 2.6195)
Luminance0.1270 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387112 #4B1271
analogous
#677112 #387112 #12711B
triadic
#387112 #123871 #711238
tetradic
#387112 #126771 #4B1271 #711B12
square
#387112 #126771 #4B1271 #711B12
split-complementary
#387112 #1B1271 #711267
monochromatic
#0D1A04 #1E3C0A #387112 #52A61A #6CDB23

Accessibility & contrast

On white

5.93
#387112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#387112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387112
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387112#FFFFFF#000000##FFFFFF
##3871121.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#6E621D
Tritanopia (blue-blind)
#356D60
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #387112;
/* rgb */ color: rgb(56, 113, 18);
/* oklch */ color: oklch(49.1% 0.137 136.3);
Tailwind
colors: {
  custom: {
    50: '#759a59',
    500: '#387112',
    950: '#000000',
  },
}
SCSS
$custom: #387112;
$custom-light: #759a59;
$custom-dark: #000000;
JSON
{
  "hex": "#387112",
  "rgb": {
    "r": 56,
    "g": 113,
    "b": 18
  },
  "hsl": {
    "h": 96,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.4908,
    "c": 0.13675,
    "h": 136.3
  },
  "luminance": 0.12695
}

Semantic roles & 50–950 ramp

primary
#387112
secondary
#7B37A8
accent
#39EFA6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #387112

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

Preview Lab → · Contrast checker → · Palette generator →

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