#368D12#368D12

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

Color values

HEX#368D12
RGBrgb(54, 141, 18)
HSLhsl(102, 77%, 31%)
HSVhsv(102, 87%, 55%)
CMYKcmyk(61.7%, 0%, 87.2%, 44.7%)
CIE-LABlab(51.70, -47.00, 51.24)
CIE-LCHlch(51.70, 69.53, 132.53°)
OKLaboklab(56.82% -0.1296 0.1124)
OKLCHoklch(56.82% 0.172 139.1)
XYZxyz(11.1549, 19.8767, 3.8209)
Luminance0.1988 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#368D12 #69128D
analogous
#738D12 #368D12 #128D2B
triadic
#368D12 #12368D #8D1236
tetradic
#368D12 #12738D #69128D #8D2B12
square
#368D12 #12738D #69128D #8D2B12
split-complementary
#368D12 #2B128D #8D1273
monochromatic
#0C2004 #21570B #368D12 #4BC319 #68E534

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##368D12#FFFFFF#000000##000000
##368D121.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)
#877923
Tritanopia (blue-blind)
#2C8878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #368d12;
/* rgb */ color: rgb(54, 141, 18);
/* oklch */ color: oklch(56.8% 0.172 139.1);
Tailwind
colors: {
  custom: {
    50: '#79af5e',
    500: '#368d12',
    950: '#000000',
  },
}
SCSS
$custom: #368d12;
$custom-light: #79af5e;
$custom-dark: #000000;
JSON
{
  "hex": "#368d12",
  "rgb": {
    "r": 54,
    "g": 141,
    "b": 18
  },
  "hsl": {
    "h": 102.439,
    "s": 77.358,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56816,
    "c": 0.17154,
    "h": 139.1
  },
  "luminance": 0.19878
}

Semantic roles & 50–950 ramp

primary
#368D12
secondary
#9A39C1
accent
#34F4BC
background
#F7FAF5
surface
#EEF5EA
border
#C9CFC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #368D12

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

Preview Lab → · Contrast checker → · Palette generator →

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