#365218#365218

#365218 is a dark, moderate yellow-green. Relative luminance 0.069; OKLCH L 40.3% C 0.091 H 131.4°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#365218
RGBrgb(54, 82, 24)
HSLhsl(89, 55%, 21%)
HSVhsv(89, 71%, 32%)
CMYKcmyk(34.1%, 0%, 70.7%, 67.8%)
CIE-LABlab(31.54, -21.36, 29.69)
CIE-LCHlch(31.54, 36.57, 125.73°)
OKLaboklab(40.26% -0.06 0.0681)
OKLCHoklch(40.26% 0.091 131.4)
XYZxyz(4.7034, 6.8846, 1.9450)
Luminance0.0688 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#365218 #341852
analogous
#525118 #365218 #195218
triadic
#365218 #183652 #521836
tetradic
#365218 #185251 #341852 #521819
square
#365218 #185251 #341852 #521819
split-complementary
#365218 #181952 #511852
monochromatic
#101807 #17230A #365218 #558126 #74B134

Accessibility & contrast

On white

8.83
#365218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#365218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #365218
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##365218#FFFFFF#000000##FFFFFF
##3652181.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C11
Deuteranopia (green-blind)
#52491D
Tritanopia (blue-blind)
#374E46
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #365218;
/* rgb */ color: rgb(54, 82, 24);
/* oklch */ color: oklch(40.3% 0.091 131.4);
Tailwind
colors: {
  custom: {
    50: '#6f8358',
    500: '#365218',
    950: '#000000',
  },
}
SCSS
$custom: #365218;
$custom-light: #6f8358;
$custom-dark: #000000;
JSON
{
  "hex": "#365218",
  "rgb": {
    "r": 54,
    "g": 82,
    "b": 24
  },
  "hsl": {
    "h": 88.966,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40261,
    "c": 0.09079,
    "h": 131.4
  },
  "luminance": 0.06885
}

Semantic roles & 50–950 ramp

primary
#365218
secondary
#623D89
accent
#4ADE91
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #365218

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

Preview Lab → · Contrast checker → · Palette generator →

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