#368D1F#368D1F

#368D1F is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.9% C 0.166 H 140.1°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#368D1F
RGBrgb(54, 141, 31)
HSLhsl(107, 64%, 34%)
HSVhsv(107, 78%, 55%)
CMYKcmyk(61.7%, 0%, 78%, 44.7%)
CIE-LABlab(51.76, -46.26, 47.43)
CIE-LCHlch(51.76, 66.26, 134.28°)
OKLaboklab(56.89% -0.127 0.1063)
OKLCHoklch(56.89% 0.166 140.1)
XYZxyz(11.2930, 19.9319, 4.5482)
Luminance0.1993 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#368D1F #761F8D
analogous
#6D8D1F #368D1F #1F8D3F
triadic
#368D1F #1F368D #8D1F36
tetradic
#368D1F #1F6D8D #761F8D #8D3F1F
square
#368D1F #1F6D8D #761F8D #8D3F1F
split-complementary
#368D1F #3F1F8D #8D1F6D
monochromatic
#102909 #235B14 #368D1F #49BF2A #6BD84E

Accessibility & contrast

On white

4.21
#368D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#368D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #368D1F
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##368D1F#FFFFFF#000000##000000
##368D1F1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#918005
Deuteranopia (green-blind)
#86792B
Tritanopia (blue-blind)
#2A8878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #368d1f;
/* rgb */ color: rgb(54, 141, 31);
/* oklch */ color: oklch(56.9% 0.166 140.1);
Tailwind
colors: {
  custom: {
    50: '#78af63',
    500: '#368d1f',
    950: '#000000',
  },
}
SCSS
$custom: #368d1f;
$custom-light: #78af63;
$custom-dark: #000000;
JSON
{
  "hex": "#368d1f",
  "rgb": {
    "r": 54,
    "g": 141,
    "b": 31
  },
  "hsl": {
    "h": 107.455,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56887,
    "c": 0.16558,
    "h": 140.1
  },
  "luminance": 0.19933
}

Semantic roles & 50–950 ramp

primary
#368D1F
secondary
#A44DBB
accent
#41E7C4
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #368D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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