#368B1F#368B1F

#368B1F is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.3% C 0.163 H 140.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#368B1F
RGBrgb(54, 139, 31)
HSLhsl(107, 64%, 33%)
HSVhsv(107, 78%, 55%)
CMYKcmyk(61.2%, 0%, 77.7%, 45.5%)
CIE-LABlab(51.09, -45.52, 46.78)
CIE-LCHlch(51.09, 65.27, 134.22°)
OKLaboklab(56.33% -0.125 0.1049)
OKLCHoklch(56.33% 0.163 140)
XYZxyz(11.0008, 19.3474, 4.4508)
Luminance0.1935 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#368B1F #741F8B
analogous
#6C8B1F #368B1F #1F8B3E
triadic
#368B1F #1F368B #8B1F36
tetradic
#368B1F #1F6C8B #741F8B #8B3E1F
square
#368B1F #1F6C8B #741F8B #8B3E1F
split-complementary
#368B1F #3E1F8B #8B1F6C
monochromatic
#0F2709 #235914 #368B1F #49BD2A #6BD74D

Accessibility & contrast

On white

4.31
#368B1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#368B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #368B1F
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##368B1F#FFFFFF#000000##000000
##368B1F1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E06
Deuteranopia (green-blind)
#84772B
Tritanopia (blue-blind)
#2B8677
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #368b1f;
/* rgb */ color: rgb(54, 139, 31);
/* oklch */ color: oklch(56.3% 0.163 140.0);
Tailwind
colors: {
  custom: {
    50: '#78ae63',
    500: '#368b1f',
    950: '#000000',
  },
}
SCSS
$custom: #368b1f;
$custom-light: #78ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#368b1f",
  "rgb": {
    "r": 54,
    "g": 139,
    "b": 31
  },
  "hsl": {
    "h": 107.222,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56334,
    "c": 0.16317,
    "h": 140
  },
  "luminance": 0.19348
}

Semantic roles & 50–950 ramp

primary
#368B1F
secondary
#A34CBA
accent
#41E7C3
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #368B1F

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

Preview Lab → · Contrast checker → · Palette generator →

#368B1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva