#367212#367212

#367212 is a mid, vivid yellow-green. Relative luminance 0.129; OKLCH L 49.3% C 0.139 H 136.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#367212
RGBrgb(54, 114, 18)
HSLhsl(98, 73%, 26%)
HSVhsv(98, 84%, 45%)
CMYKcmyk(52.6%, 0%, 84.2%, 55.3%)
CIE-LABlab(42.55, -36.53, 42.98)
CIE-LCHlch(42.55, 56.41, 130.36°)
OKLaboklab(49.27% -0.1016 0.095)
OKLCHoklch(49.27% 0.139 136.9)
XYZxyz(7.6476, 12.8620, 2.6518)
Luminance0.1286 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#367212 #4E1272
analogous
#667212 #367212 #12721E
triadic
#367212 #123672 #721236
tetradic
#367212 #126672 #4E1272 #721E12
square
#367212 #126672 #4E1272 #721E12
split-complementary
#367212 #1E1272 #721266
monochromatic
#0D1A04 #1D3D0A #367212 #4FA71A #68DC23

Accessibility & contrast

On white

5.88
#367212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#367212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #367212
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##367212#FFFFFF#000000##FFFFFF
##3672121.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#6E631E
Tritanopia (blue-blind)
#326E61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #367212;
/* rgb */ color: rgb(54, 114, 18);
/* oklch */ color: oklch(49.3% 0.139 136.9);
Tailwind
colors: {
  custom: {
    50: '#749b59',
    500: '#367212',
    950: '#000000',
  },
}
SCSS
$custom: #367212;
$custom-light: #749b59;
$custom-dark: #000000;
JSON
{
  "hex": "#367212",
  "rgb": {
    "r": 54,
    "g": 114,
    "b": 18
  },
  "hsl": {
    "h": 97.5,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.49267,
    "c": 0.13908,
    "h": 136.9
  },
  "luminance": 0.12863
}

Semantic roles & 50–950 ramp

primary
#367212
secondary
#7E37A9
accent
#38EFAB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #367212

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

Preview Lab → · Contrast checker → · Palette generator →

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