#5C7019#5C7019

#5C7019 is a mid, moderate yellow-green. Relative luminance 0.139; OKLCH L 51.2% C 0.112 H 122.0°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#5C7019
RGBrgb(92, 112, 25)
HSLhsl(74, 64%, 27%)
HSVhsv(74, 78%, 44%)
CMYKcmyk(17.9%, 0%, 77.7%, 56.1%)
CIE-LABlab(44.14, -20.19, 42.87)
CIE-LCHlch(44.14, 47.38, 115.22°)
OKLaboklab(51.15% -0.0593 0.095)
OKLCHoklch(51.15% 0.112 122)
XYZxyz(10.3834, 13.9338, 3.0620)
Luminance0.1393 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7019 #2D1970
analogous
#705919 #5C7019 #317019
triadic
#5C7019 #195C70 #70195C
tetradic
#5C7019 #197059 #2D1970 #701931
square
#5C7019 #197059 #2D1970 #701931
split-complementary
#5C7019 #193170 #591970
monochromatic
#151906 #333E0E #5C7019 #85A224 #ADD132

Accessibility & contrast

On white

5.55
#5C7019 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#5C7019 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C7019
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7019#FFFFFF#000000##FFFFFF
##5C70191.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776907
Deuteranopia (green-blind)
#756821
Tritanopia (blue-blind)
#616A5F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5c7019;
/* rgb */ color: rgb(92, 112, 25);
/* oklch */ color: oklch(51.2% 0.112 122.0);
Tailwind
colors: {
  custom: {
    50: '#8d995d',
    500: '#5c7019',
    950: '#000000',
  },
}
SCSS
$custom: #5c7019;
$custom-light: #8d995d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7019",
  "rgb": {
    "r": 92,
    "g": 112,
    "b": 25
  },
  "hsl": {
    "h": 73.793,
    "s": 63.504,
    "l": 26.863
  },
  "oklch": {
    "l": 0.51155,
    "c": 0.11202,
    "h": 122
  },
  "luminance": 0.13934
}

Semantic roles & 50–950 ramp

primary
#5C7019
secondary
#5740A5
accent
#41E767
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5C7019

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

Preview Lab → · Contrast checker → · Palette generator →

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