#5E7334#5E7334

#5E7334 is a mid, moderate yellow-green. Relative luminance 0.149; OKLCH L 52.4% C 0.092 H 124.8°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#5E7334
RGBrgb(94, 115, 52)
HSLhsl(80, 38%, 33%)
HSVhsv(80, 55%, 45%)
CMYKcmyk(18.3%, 0%, 54.8%, 54.9%)
CIE-LABlab(45.48, -18.67, 31.97)
CIE-LCHlch(45.48, 37.02, 120.28°)
OKLaboklab(52.36% -0.0525 0.0757)
OKLCHoklch(52.36% 0.092 124.8)
XYZxyz(11.3667, 14.8890, 5.5232)
Luminance0.1489 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7334 #493473
analogous
#736834 #5E7334 #3E7334
triadic
#5E7334 #345E73 #73345E
tetradic
#5E7334 #347368 #493473 #73343E
square
#5E7334 #347368 #493473 #73343E
split-complementary
#5E7334 #343E73 #683473
monochromatic
#191F0E #3C4921 #5E7334 #809D47 #9FBA67

Accessibility & contrast

On white

5.28
#5E7334 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#5E7334 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7334
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7334#FFFFFF#000000##FFFFFF
##5E73341.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C2E
Deuteranopia (green-blind)
#766B38
Tritanopia (blue-blind)
#626E65
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5e7334;
/* rgb */ color: rgb(94, 115, 52);
/* oklch */ color: oklch(52.4% 0.092 124.8);
Tailwind
colors: {
  custom: {
    50: '#8d9b6d',
    500: '#5e7334',
    950: '#000000',
  },
}
SCSS
$custom: #5e7334;
$custom-light: #8d9b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7334",
  "rgb": {
    "r": 94,
    "g": 115,
    "b": 52
  },
  "hsl": {
    "h": 80,
    "s": 37.725,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52356,
    "c": 0.09211,
    "h": 124.8
  },
  "luminance": 0.14889
}

Semantic roles & 50–950 ramp

primary
#5E7334
secondary
#7660A3
accent
#5ACE81
background
#F8F9F6
surface
#F0F2EC
border
#CBCCC7
text
#0C0E07
muted
#7D7E7A

Preview Lab

Preview with #5E7334

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

Preview Lab → · Contrast checker → · Palette generator →

#5E7334 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva