#5C7E2E#5C7E2E

#5C7E2E is a mid, moderate yellow-green. Relative luminance 0.174; OKLCH L 54.9% C 0.115 H 129.1°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#5C7E2E
RGBrgb(92, 126, 46)
HSLhsl(86, 47%, 34%)
HSVhsv(86, 63%, 49%)
CMYKcmyk(27%, 0%, 63.5%, 50.6%)
CIE-LABlab(48.75, -25.74, 38.66)
CIE-LCHlch(48.75, 46.45, 123.65°)
OKLaboklab(54.94% -0.0726 0.0894)
OKLCHoklch(54.94% 0.115 129.1)
XYZxyz(12.3676, 17.3940, 5.2900)
Luminance0.1739 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7E2E #502E7E
analogous
#7E782E #5C7E2E #347E2E
triadic
#5C7E2E #2E5C7E #7E2E5C
tetradic
#5C7E2E #2E7E78 #502E7E #7E2E34
square
#5C7E2E #2E7E78 #502E7E #7E2E34
split-complementary
#5C7E2E #2E347E #782E7E
monochromatic
#1B240D #3B511E #5C7E2E #7DAB3E #9BC561

Accessibility & contrast

On white

4.69
#5C7E2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#5C7E2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C7E2E
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7E2E#FFFFFF#000000##FFFFFF
##5C7E2E1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847525
Deuteranopia (green-blind)
#7F7334
Tritanopia (blue-blind)
#5F796D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5c7e2e;
/* rgb */ color: rgb(92, 126, 46);
/* oklch */ color: oklch(54.9% 0.115 129.1);
Tailwind
colors: {
  custom: {
    50: '#8da36a',
    500: '#5c7e2e',
    950: '#000000',
  },
}
SCSS
$custom: #5c7e2e;
$custom-light: #8da36a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7e2e",
  "rgb": {
    "r": 92,
    "g": 126,
    "b": 46
  },
  "hsl": {
    "h": 85.5,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54943,
    "c": 0.11518,
    "h": 129.1
  },
  "luminance": 0.17394
}

Semantic roles & 50–950 ramp

primary
#5C7E2E
secondary
#7E5CAC
accent
#52D68A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F07
muted
#7D7F7A

Preview Lab

Preview with #5C7E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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