#366917#366917

#366917 is a mid, vivid yellow-green. Relative luminance 0.109; OKLCH L 46.8% C 0.125 H 136.3°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#366917
RGBrgb(54, 105, 23)
HSLhsl(97, 64%, 25%)
HSVhsv(97, 78%, 41%)
CMYKcmyk(48.6%, 0%, 78.1%, 58.8%)
CIE-LABlab(39.49, -32.37, 38.31)
CIE-LCHlch(39.49, 50.16, 130.20°)
OKLaboklab(46.76% -0.09 0.086)
OKLCHoklch(46.76% 0.125 136.3)
XYZxyz(6.7274, 10.9489, 2.5693)
Luminance0.1095 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#366917 #4A1769
analogous
#5F6917 #366917 #176921
triadic
#366917 #173669 #691736
tetradic
#366917 #175F69 #4A1769 #692117
square
#366917 #175F69 #4A1769 #692117
split-complementary
#366917 #211769 #69175F
monochromatic
#0D1905 #1C370C #366917 #509B22 #6ACD2D

Accessibility & contrast

On white

6.58
#366917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#366917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #366917
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##366917#FFFFFF#000000##FFFFFF
##3669171.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6007
Deuteranopia (green-blind)
#665B1F
Tritanopia (blue-blind)
#346559
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #366917;
/* rgb */ color: rgb(54, 105, 23);
/* oklch */ color: oklch(46.8% 0.125 136.3);
Tailwind
colors: {
  custom: {
    50: '#72945a',
    500: '#366917',
    950: '#000000',
  },
}
SCSS
$custom: #366917;
$custom-light: #72945a;
$custom-dark: #000000;
JSON
{
  "hex": "#366917",
  "rgb": {
    "r": 54,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 97.317,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.4676,
    "c": 0.12453,
    "h": 136.3
  },
  "luminance": 0.10949
}

Semantic roles & 50–950 ramp

primary
#366917
secondary
#7A3D9F
accent
#41E7A8
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #366917

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

Preview Lab → · Contrast checker → · Palette generator →

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