#368315#368315

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

Color values

HEX#368315
RGBrgb(54, 131, 21)
HSLhsl(102, 72%, 30%)
HSVhsv(102, 84%, 51%)
CMYKcmyk(58.8%, 0%, 84%, 48.6%)
CIE-LABlab(48.35, -43.12, 47.42)
CIE-LCHlch(48.35, 64.10, 132.28°)
OKLaboklab(54.05% -0.1191 0.1048)
OKLCHoklch(54.05% 0.159 138.7)
XYZxyz(9.7726, 17.0702, 3.4892)
Luminance0.1707 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#368315 #621583
analogous
#6D8315 #368315 #15832B
triadic
#368315 #153683 #831536
tetradic
#368315 #156D83 #621583 #832B15
square
#368315 #156D83 #621583 #832B15
split-complementary
#368315 #2B1583 #83156D
monochromatic
#0B1A04 #204E0D #368315 #4CB81D #67DE34

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##368315#FFFFFF#000000##FFFFFF
##3683151.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)
#7E7023
Tritanopia (blue-blind)
#2E7E6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #368315;
/* rgb */ color: rgb(54, 131, 21);
/* oklch */ color: oklch(54.1% 0.159 138.7);
Tailwind
colors: {
  custom: {
    50: '#77a85d',
    500: '#368315',
    950: '#000000',
  },
}
SCSS
$custom: #368315;
$custom-light: #77a85d;
$custom-dark: #000000;
JSON
{
  "hex": "#368315",
  "rgb": {
    "r": 54,
    "g": 131,
    "b": 21
  },
  "hsl": {
    "h": 102,
    "s": 72.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54051,
    "c": 0.1586,
    "h": 138.7
  },
  "luminance": 0.17071
}

Semantic roles & 50–950 ramp

primary
#368315
secondary
#933CB8
accent
#39EFB8
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#091005
muted
#7B7F79

Preview Lab

Preview with #368315

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

Preview Lab → · Contrast checker → · Palette generator →

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