#368D17#368D17

#368D17 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.8% C 0.170 H 139.4°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#368D17
RGBrgb(54, 141, 23)
HSLhsl(104, 72%, 32%)
HSVhsv(104, 84%, 55%)
CMYKcmyk(61.7%, 0%, 83.7%, 44.7%)
CIE-LABlab(51.72, -46.76, 49.94)
CIE-LCHlch(51.72, 68.41, 133.12°)
OKLaboklab(56.84% -0.1287 0.1103)
OKLCHoklch(56.84% 0.17 139.4)
XYZxyz(11.2004, 19.8949, 4.0603)
Luminance0.1990 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#368D17 #6E178D
analogous
#718D17 #368D17 #178D33
triadic
#368D17 #17368D #8D1736
tetradic
#368D17 #17718D #6E178D #8D3317
square
#368D17 #17718D #6E178D #8D3317
split-complementary
#368D17 #33178D #8D1771
monochromatic
#0E2406 #22580E #368D17 #4AC220 #69E03F

Accessibility & contrast

On white

4.22
#368D17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#368D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #368D17
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##368D17#FFFFFF#000000##000000
##368D171.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#877926
Tritanopia (blue-blind)
#2B8878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #368d17;
/* rgb */ color: rgb(54, 141, 23);
/* oklch */ color: oklch(56.8% 0.170 139.4);
Tailwind
colors: {
  custom: {
    50: '#79af60',
    500: '#368d17',
    950: '#000000',
  },
}
SCSS
$custom: #368d17;
$custom-light: #79af60;
$custom-dark: #000000;
JSON
{
  "hex": "#368d17",
  "rgb": {
    "r": 54,
    "g": 141,
    "b": 23
  },
  "hsl": {
    "h": 104.237,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56839,
    "c": 0.16953,
    "h": 139.4
  },
  "luminance": 0.19896
}

Semantic roles & 50–950 ramp

primary
#368D17
secondary
#9E40C0
accent
#39EFBF
background
#F7FAF5
surface
#EEF5EA
border
#C9CFC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #368D17

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

Preview Lab → · Contrast checker → · Palette generator →

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