#368312#368312

#368312 is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.0% C 0.160 H 138.4°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#368312
RGBrgb(54, 131, 18)
HSLhsl(101, 76%, 29%)
HSVhsv(101, 86%, 51%)
CMYKcmyk(58.8%, 0%, 86.3%, 48.6%)
CIE-LABlab(48.34, -43.28, 48.24)
CIE-LCHlch(48.34, 64.81, 131.89°)
OKLaboklab(54.04% -0.1196 0.1061)
OKLCHoklch(54.04% 0.16 138.4)
XYZxyz(9.7464, 17.0597, 3.3514)
Luminance0.1706 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#368312 #5F1283
analogous
#6F8312 #368312 #128327
triadic
#368312 #123683 #831236
tetradic
#368312 #126F83 #5F1283 #832712
square
#368312 #126F83 #5F1283 #832712
split-complementary
#368312 #271283 #83126F
monochromatic
#0B1B04 #204D0B #368312 #4CB919 #67E22D

Accessibility & contrast

On white

4.76
#368312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#368312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #368312
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##368312#FFFFFF#000000##FFFFFF
##3683121.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#7E7021
Tritanopia (blue-blind)
#2E7E6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #368312;
/* rgb */ color: rgb(54, 131, 18);
/* oklch */ color: oklch(54.0% 0.160 138.4);
Tailwind
colors: {
  custom: {
    50: '#77a85c',
    500: '#368312',
    950: '#000000',
  },
}
SCSS
$custom: #368312;
$custom-light: #77a85c;
$custom-dark: #000000;
JSON
{
  "hex": "#368312",
  "rgb": {
    "r": 54,
    "g": 131,
    "b": 18
  },
  "hsl": {
    "h": 100.885,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.54036,
    "c": 0.15988,
    "h": 138.4
  },
  "luminance": 0.17061
}

Semantic roles & 50–950 ramp

primary
#368312
secondary
#9038B8
accent
#35F2B6
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #368312

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

Preview Lab → · Contrast checker → · Palette generator →

#368312 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva