#387118#387118

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

Color values

HEX#387118
RGBrgb(56, 113, 24)
HSLhsl(98, 65%, 27%)
HSVhsv(98, 79%, 44%)
CMYKcmyk(50.4%, 0%, 78.8%, 55.7%)
CIE-LABlab(42.33, -35.08, 40.76)
CIE-LCHlch(42.33, 53.78, 130.72°)
OKLaboklab(49.12% -0.0974 0.0913)
OKLCHoklch(49.12% 0.133 136.9)
XYZxyz(7.7007, 12.7164, 2.9127)
Luminance0.1272 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387118 #511871
analogous
#657118 #387118 #187125
triadic
#387118 #183871 #711838
tetradic
#387118 #186571 #511871 #712518
square
#387118 #186571 #511871 #712518
split-complementary
#387118 #251871 #711865
monochromatic
#0D1905 #1F3F0D #387118 #51A323 #6BD330

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##387118#FFFFFF#000000##FFFFFF
##3871181.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)
#756705
Deuteranopia (green-blind)
#6E6221
Tritanopia (blue-blind)
#356D60
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #387118;
/* rgb */ color: rgb(56, 113, 24);
/* oklch */ color: oklch(49.1% 0.133 136.9);
Tailwind
colors: {
  custom: {
    50: '#759a5c',
    500: '#387118',
    950: '#000000',
  },
}
SCSS
$custom: #387118;
$custom-light: #759a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#387118",
  "rgb": {
    "r": 56,
    "g": 113,
    "b": 24
  },
  "hsl": {
    "h": 98.427,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.49119,
    "c": 0.13349,
    "h": 136.9
  },
  "luminance": 0.12717
}

Semantic roles & 50–950 ramp

primary
#387118
secondary
#813EA6
accent
#40E8AC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #387118

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

Preview Lab → · Contrast checker → · Palette generator →

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