#366618#366618

#366618 is a mid, moderate yellow-green. Relative luminance 0.104; OKLCH L 45.9% C 0.120 H 136.0°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#366618
RGBrgb(54, 102, 24)
HSLhsl(97, 62%, 25%)
HSVhsv(97, 76%, 40%)
CMYKcmyk(47.1%, 0%, 76.5%, 60%)
CIE-LABlab(38.47, -30.96, 36.89)
CIE-LCHlch(38.47, 48.16, 130.01°)
OKLaboklab(45.92% -0.0862 0.0832)
OKLCHoklch(45.92% 0.12 136)
XYZxyz(6.4374, 10.3526, 2.5230)
Luminance0.1035 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#366618 #481866
analogous
#5D6618 #366618 #186621
triadic
#366618 #183666 #661836
tetradic
#366618 #185D66 #481866 #662118
square
#366618 #185D66 #481866 #662118
split-complementary
#366618 #211866 #66185D
monochromatic
#0D1906 #1C340C #366618 #509824 #6AC92F

Accessibility & contrast

On white

6.84
#366618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#366618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #366618
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##366618#FFFFFF#000000##FFFFFF
##3666181.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D0A
Deuteranopia (green-blind)
#635920
Tritanopia (blue-blind)
#346257
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #366618;
/* rgb */ color: rgb(54, 102, 24);
/* oklch */ color: oklch(45.9% 0.120 136.0);
Tailwind
colors: {
  custom: {
    50: '#72925b',
    500: '#366618',
    950: '#000000',
  },
}
SCSS
$custom: #366618;
$custom-light: #72925b;
$custom-dark: #000000;
JSON
{
  "hex": "#366618",
  "rgb": {
    "r": 54,
    "g": 102,
    "b": 24
  },
  "hsl": {
    "h": 96.923,
    "s": 61.905,
    "l": 24.706
  },
  "oklch": {
    "l": 0.4592,
    "c": 0.11979,
    "h": 136
  },
  "luminance": 0.10353
}

Semantic roles & 50–950 ramp

primary
#366618
secondary
#783E9C
accent
#43E5A7
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #366618

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

Preview Lab → · Contrast checker → · Palette generator →

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