#368C12#368C12

#368C12 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.5% C 0.170 H 139.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#368C12
RGBrgb(54, 140, 18)
HSLhsl(102, 77%, 31%)
HSVhsv(102, 87%, 55%)
CMYKcmyk(61.4%, 0%, 87.1%, 45.1%)
CIE-LABlab(51.36, -46.63, 50.94)
CIE-LCHlch(51.36, 69.07, 132.47°)
OKLaboklab(56.54% -0.1286 0.1117)
OKLCHoklch(56.54% 0.17 139)
XYZxyz(11.0081, 19.5831, 3.7720)
Luminance0.1958 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#368C12 #68128C
analogous
#738C12 #368C12 #128C2B
triadic
#368C12 #12368C #8C1236
tetradic
#368C12 #12738C #68128C #8C2B12
square
#368C12 #12738C #68128C #8C2B12
split-complementary
#368C12 #2B128C #8C1273
monochromatic
#0C2004 #21560B #368C12 #4BC219 #68E534

Accessibility & contrast

On white

4.27
#368C12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#368C12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #368C12
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##368C12#FFFFFF#000000##000000
##368C121.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#867823
Tritanopia (blue-blind)
#2C8777
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #368c12;
/* rgb */ color: rgb(54, 140, 18);
/* oklch */ color: oklch(56.5% 0.170 139.0);
Tailwind
colors: {
  custom: {
    50: '#79ae5e',
    500: '#368c12',
    950: '#000000',
  },
}
SCSS
$custom: #368c12;
$custom-light: #79ae5e;
$custom-dark: #000000;
JSON
{
  "hex": "#368c12",
  "rgb": {
    "r": 54,
    "g": 140,
    "b": 18
  },
  "hsl": {
    "h": 102.295,
    "s": 77.215,
    "l": 30.98
  },
  "oklch": {
    "l": 0.56538,
    "c": 0.17039,
    "h": 139
  },
  "luminance": 0.19584
}

Semantic roles & 50–950 ramp

primary
#368C12
secondary
#9939C0
accent
#34F4BB
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #368C12

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

Preview Lab → · Contrast checker → · Palette generator →

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