#5C7D1B#5C7D1B

#5C7D1B is a mid, vivid yellow-green. Relative luminance 0.170; OKLCH L 54.5% C 0.128 H 126.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#5C7D1B
RGBrgb(92, 125, 27)
HSLhsl(80, 64%, 30%)
HSVhsv(80, 78%, 49%)
CMYKcmyk(26.4%, 0%, 78.4%, 51%)
CIE-LABlab(48.29, -26.65, 46.10)
CIE-LCHlch(48.29, 53.25, 120.03°)
OKLaboklab(54.52% -0.0768 0.1022)
OKLCHoklch(54.52% 0.128 126.9)
XYZxyz(11.9451, 17.0214, 3.6928)
Luminance0.1702 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7D1B #3C1B7D
analogous
#7D6D1B #5C7D1B #2B7D1B
triadic
#5C7D1B #1B5C7D #7D1B5C
tetradic
#5C7D1B #1B7D6D #3C1B7D #7D1B2B
square
#5C7D1B #1B7D6D #3C1B7D #7D1B2B
split-complementary
#5C7D1B #1B2B7D #6D1B7D
monochromatic
#131905 #374B10 #5C7D1B #81AF26 #A2D53D

Accessibility & contrast

On white

4.77
#5C7D1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#5C7D1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C7D1B
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7D1B#FFFFFF#000000##FFFFFF
##5C7D1B1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847404
Deuteranopia (green-blind)
#7F7225
Tritanopia (blue-blind)
#60776B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5c7d1b;
/* rgb */ color: rgb(92, 125, 27);
/* oklch */ color: oklch(54.5% 0.128 126.9);
Tailwind
colors: {
  custom: {
    50: '#8ea260',
    500: '#5c7d1b',
    950: '#000000',
  },
}
SCSS
$custom: #5c7d1b;
$custom-light: #8ea260;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7d1b",
  "rgb": {
    "r": 92,
    "g": 125,
    "b": 27
  },
  "hsl": {
    "h": 80.204,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54518,
    "c": 0.12784,
    "h": 126.9
  },
  "luminance": 0.17022
}

Semantic roles & 50–950 ramp

primary
#5C7D1B
secondary
#6843B1
accent
#40E779
background
#F8FAF5
surface
#F0F3EA
border
#CBCDC6
text
#0D0F05
muted
#7D7F79

Preview Lab

Preview with #5C7D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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