#5C7E1E#5C7E1E

#5C7E1E is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.8% C 0.127 H 127.4°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#5C7E1E
RGBrgb(92, 126, 30)
HSLhsl(81, 62%, 31%)
HSVhsv(81, 76%, 49%)
CMYKcmyk(27%, 0%, 76.2%, 50.6%)
CIE-LABlab(48.62, -26.96, 45.34)
CIE-LCHlch(48.62, 52.75, 120.74°)
OKLaboklab(54.8% -0.0774 0.1011)
OKLCHoklch(54.8% 0.127 127.4)
XYZxyz(12.1089, 17.2905, 3.9275)
Luminance0.1729 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7E1E #401E7E
analogous
#7E701E #5C7E1E #2C7E1E
triadic
#5C7E1E #1E5C7E #7E1E5C
tetradic
#5C7E1E #1E7E70 #401E7E #7E1E2C
square
#5C7E1E #1E7E70 #401E7E #7E1E2C
split-complementary
#5C7E1E #1E2C7E #701E7E
monochromatic
#141B06 #384D12 #5C7E1E #80AF2A #A0D244

Accessibility & contrast

On white

4.71
#5C7E1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#5C7E1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C7E1E
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7E1E#FFFFFF#000000##FFFFFF
##5C7E1E1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85750B
Deuteranopia (green-blind)
#807327
Tritanopia (blue-blind)
#60786C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5c7e1e;
/* rgb */ color: rgb(92, 126, 30);
/* oklch */ color: oklch(54.8% 0.127 127.4);
Tailwind
colors: {
  custom: {
    50: '#8da361',
    500: '#5c7e1e',
    950: '#000000',
  },
}
SCSS
$custom: #5c7e1e;
$custom-light: #8da361;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7e1e",
  "rgb": {
    "r": 92,
    "g": 126,
    "b": 30
  },
  "hsl": {
    "h": 81.25,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54797,
    "c": 0.12732,
    "h": 127.4
  },
  "luminance": 0.17291
}

Semantic roles & 50–950 ramp

primary
#5C7E1E
secondary
#6C47B1
accent
#43E57C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D0F05
muted
#7D7F7A

Preview Lab

Preview with #5C7E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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