#387018#387018

#387018 is a mid, vivid yellow-green. Relative luminance 0.125; OKLCH L 48.8% C 0.132 H 136.8°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#387018
RGBrgb(56, 112, 24)
HSLhsl(98, 65%, 27%)
HSVhsv(98, 79%, 44%)
CMYKcmyk(50%, 0%, 78.6%, 56.1%)
CIE-LABlab(41.99, -34.65, 40.42)
CIE-LCHlch(41.99, 53.24, 130.60°)
OKLaboklab(48.84% -0.0963 0.0906)
OKLCHoklch(48.84% 0.132 136.8)
XYZxyz(7.5897, 12.4945, 2.8757)
Luminance0.1250 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387018 #501870
analogous
#647018 #387018 #187024
triadic
#387018 #183870 #701838
tetradic
#387018 #186470 #501870 #702418
square
#387018 #186470 #501870 #702418
split-complementary
#387018 #241870 #701864
monochromatic
#0D1905 #1F3E0D #387018 #51A223 #6BD330

Accessibility & contrast

On white

6.00
#387018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#387018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387018
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387018#FFFFFF#000000##FFFFFF
##3870181.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746605
Deuteranopia (green-blind)
#6D6121
Tritanopia (blue-blind)
#356C5F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #387018;
/* rgb */ color: rgb(56, 112, 24);
/* oklch */ color: oklch(48.8% 0.132 136.8);
Tailwind
colors: {
  custom: {
    50: '#75995c',
    500: '#387018',
    950: '#000000',
  },
}
SCSS
$custom: #387018;
$custom-light: #75995c;
$custom-dark: #000000;
JSON
{
  "hex": "#387018",
  "rgb": {
    "r": 56,
    "g": 112,
    "b": 24
  },
  "hsl": {
    "h": 98.182,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48839,
    "c": 0.13217,
    "h": 136.8
  },
  "luminance": 0.12495
}

Semantic roles & 50–950 ramp

primary
#387018
secondary
#803EA5
accent
#40E8AB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #387018

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

Preview Lab → · Contrast checker → · Palette generator →

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