#366612#366612

#366612 is a mid, vivid yellow-green. Relative luminance 0.103; OKLCH L 45.9% C 0.123 H 135.3°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#366612
RGBrgb(54, 102, 18)
HSLhsl(94, 70%, 24%)
HSVhsv(94, 82%, 40%)
CMYKcmyk(47.1%, 0%, 82.4%, 60%)
CIE-LABlab(38.43, -31.39, 39.12)
CIE-LCHlch(38.43, 50.16, 128.74°)
OKLaboklab(45.88% -0.0877 0.0869)
OKLCHoklch(45.88% 0.124 135.3)
XYZxyz(6.3817, 10.3303, 2.2298)
Luminance0.1033 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#366612 #421266
analogous
#606612 #366612 #126618
triadic
#366612 #123666 #661236
tetradic
#366612 #126066 #421266 #661812
square
#366612 #126066 #421266 #661812
split-complementary
#366612 #181266 #661260
monochromatic
#0E1A05 #1A3209 #366612 #529A1B #6DCE24

Accessibility & contrast

On white

6.85
#366612 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #366612
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##366612#FFFFFF#000000##FFFFFF
##3666121.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#64591B
Tritanopia (blue-blind)
#356256
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #366612;
/* rgb */ color: rgb(54, 102, 18);
/* oklch */ color: oklch(45.9% 0.123 135.3);
Tailwind
colors: {
  custom: {
    50: '#729258',
    500: '#366612',
    950: '#000000',
  },
}
SCSS
$custom: #366612;
$custom-light: #729258;
$custom-dark: #000000;
JSON
{
  "hex": "#366612",
  "rgb": {
    "r": 54,
    "g": 102,
    "b": 18
  },
  "hsl": {
    "h": 94.286,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.45875,
    "c": 0.1235,
    "h": 135.3
  },
  "luminance": 0.10331
}

Semantic roles & 50–950 ramp

primary
#366612
secondary
#71369E
accent
#3BEDA1
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #366612

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

Preview Lab → · Contrast checker → · Palette generator →

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