#5B783F#5B783F

#5B783F is a mid, moderate yellow-green. Relative luminance 0.160; OKLCH L 53.6% C 0.089 H 131.0°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#5B783F
RGBrgb(91, 120, 63)
HSLhsl(91, 31%, 36%)
HSVhsv(91, 48%, 47%)
CMYKcmyk(24.2%, 0%, 47.5%, 52.9%)
CIE-LABlab(47.00, -21.20, 27.87)
CIE-LCHlch(47.00, 35.02, 127.26°)
OKLaboklab(53.57% -0.0585 0.0675)
OKLCHoklch(53.57% 0.089 131)
XYZxyz(11.9279, 16.0157, 7.1646)
Luminance0.1602 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B783F #5C3F78
analogous
#77783F #5B783F #3F783F
triadic
#5B783F #3F5B78 #783F5B
tetradic
#5B783F #3F7778 #5C3F78 #783F3F
square
#5B783F #3F7778 #5C3F78 #783F3F
split-complementary
#5B783F #3F3F78 #783F77
monochromatic
#1E2815 #3D502A #5B783F #79A054 #98B979

Accessibility & contrast

On white

5.00
#5B783F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#5B783F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B783F
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B783F#FFFFFF#000000##FFFFFF
##5B783F1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D713A
Deuteranopia (green-blind)
#786F42
Tritanopia (blue-blind)
#5C746A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5b783f;
/* rgb */ color: rgb(91, 120, 63);
/* oklch */ color: oklch(53.6% 0.089 131.0);
Tailwind
colors: {
  custom: {
    50: '#8b9f75',
    500: '#5b783f',
    950: '#000000',
  },
}
SCSS
$custom: #5b783f;
$custom-light: #8b9f75;
$custom-dark: #000000;
JSON
{
  "hex": "#5b783f",
  "rgb": {
    "r": 91,
    "g": 120,
    "b": 63
  },
  "hsl": {
    "h": 90.526,
    "s": 31.148,
    "l": 35.882
  },
  "oklch": {
    "l": 0.53571,
    "c": 0.08932,
    "h": 131
  },
  "luminance": 0.16016
}

Semantic roles & 50–950 ramp

primary
#5B783F
secondary
#8A70A3
accent
#60C795
background
#F8F9F7
surface
#F0F2ED
border
#CBCCC8
text
#0C0E08
muted
#7D7E7B

Preview Lab

Preview with #5B783F

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

Preview Lab → · Contrast checker → · Palette generator →

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