#367215#367215

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

Color values

HEX#367215
RGBrgb(54, 114, 21)
HSLhsl(99, 69%, 26%)
HSVhsv(99, 82%, 45%)
CMYKcmyk(52.6%, 0%, 81.6%, 55.3%)
CIE-LABlab(42.57, -36.36, 42.02)
CIE-LCHlch(42.57, 55.57, 130.86°)
OKLaboklab(49.29% -0.1009 0.0935)
OKLCHoklch(49.29% 0.138 137.2)
XYZxyz(7.6738, 12.8725, 2.7896)
Luminance0.1287 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#367215 #511572
analogous
#657215 #367215 #157223
triadic
#367215 #153672 #721536
tetradic
#367215 #156572 #511572 #722315
square
#367215 #156572 #511572 #722315
split-complementary
#367215 #231572 #721565
monochromatic
#0C1A05 #1E3E0B #367215 #4EA61F #67D82A

Accessibility & contrast

On white

5.87
#367215 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #367215
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##367215#FFFFFF#000000##FFFFFF
##3672151.005.873.575.87
#FFFFFF5.871.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #367215;
/* rgb */ color: rgb(54, 114, 21);
/* oklch */ color: oklch(49.3% 0.138 137.2);
Tailwind
colors: {
  custom: {
    50: '#749b5b',
    500: '#367215',
    950: '#000000',
  },
}
SCSS
$custom: #367215;
$custom-light: #749b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#367215",
  "rgb": {
    "r": 54,
    "g": 114,
    "b": 21
  },
  "hsl": {
    "h": 98.71,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49285,
    "c": 0.13755,
    "h": 137.2
  },
  "luminance": 0.12873
}

Semantic roles & 50–950 ramp

primary
#367215
secondary
#813BA8
accent
#3CECAD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #367215

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

Preview Lab → · Contrast checker → · Palette generator →

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