#366812#366812

#366812 is a mid, vivid yellow-green. Relative luminance 0.107; OKLCH L 46.4% C 0.126 H 135.6°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#366812
RGBrgb(54, 104, 18)
HSLhsl(95, 70%, 24%)
HSVhsv(95, 83%, 41%)
CMYKcmyk(48.1%, 0%, 82.7%, 59.2%)
CIE-LABlab(39.12, -32.27, 39.78)
CIE-LCHlch(39.12, 51.22, 129.05°)
OKLaboklab(46.44% -0.0901 0.0883)
OKLCHoklch(46.44% 0.126 135.6)
XYZxyz(6.5807, 10.7282, 2.2961)
Luminance0.1073 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#366812 #441268
analogous
#616812 #366812 #126819
triadic
#366812 #123668 #681236
tetradic
#366812 #126168 #441268 #681912
square
#366812 #126168 #441268 #681912
split-complementary
#366812 #191268 #681261
monochromatic
#0E1A05 #1B3409 #366812 #519C1B #6CD024

Accessibility & contrast

On white

6.68
#366812 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#366812 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #366812
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##366812#FFFFFF#000000##FFFFFF
##3668121.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F00
Deuteranopia (green-blind)
#655B1C
Tritanopia (blue-blind)
#346458
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #366812;
/* rgb */ color: rgb(54, 104, 18);
/* oklch */ color: oklch(46.4% 0.126 135.6);
Tailwind
colors: {
  custom: {
    50: '#739358',
    500: '#366812',
    950: '#000000',
  },
}
SCSS
$custom: #366812;
$custom-light: #739358;
$custom-dark: #000000;
JSON
{
  "hex": "#366812",
  "rgb": {
    "r": 54,
    "g": 104,
    "b": 18
  },
  "hsl": {
    "h": 94.884,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.46442,
    "c": 0.12615,
    "h": 135.6
  },
  "luminance": 0.10729
}

Semantic roles & 50–950 ramp

primary
#366812
secondary
#7336A0
accent
#3BEDA2
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #366812

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

Preview Lab → · Contrast checker → · Palette generator →

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