#5A792D#5A792D

#5A792D is a mid, moderate yellow-green. Relative luminance 0.160; OKLCH L 53.5% C 0.110 H 128.4°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#5A792D
RGBrgb(90, 121, 45)
HSLhsl(84, 46%, 33%)
HSVhsv(84, 63%, 47%)
CMYKcmyk(25.6%, 0%, 62.8%, 52.5%)
CIE-LABlab(47.02, -24.16, 37.18)
CIE-LCHlch(47.02, 44.34, 123.01°)
OKLaboklab(53.51% -0.0682 0.0862)
OKLCHoklch(53.51% 0.11 128.4)
XYZxyz(11.5274, 16.0376, 4.9704)
Luminance0.1604 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A792D #4C2D79
analogous
#79722D #5A792D #34792D
triadic
#5A792D #2D5A79 #792D5A
tetradic
#5A792D #2D7972 #4C2D79 #792D34
square
#5A792D #2D7972 #4C2D79 #792D34
split-complementary
#5A792D #2D3479 #722D79
monochromatic
#18200C #394C1C #5A792D #7BA63E #9AC35D

Accessibility & contrast

On white

4.99
#5A792D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#5A792D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A792D
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A792D#FFFFFF#000000##FFFFFF
##5A792D1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7124
Deuteranopia (green-blind)
#7A6F32
Tritanopia (blue-blind)
#5D7469
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5a792d;
/* rgb */ color: rgb(90, 121, 45);
/* oklch */ color: oklch(53.5% 0.110 128.4);
Tailwind
colors: {
  custom: {
    50: '#8ba069',
    500: '#5a792d',
    950: '#000000',
  },
}
SCSS
$custom: #5a792d;
$custom-light: #8ba069;
$custom-dark: #000000;
JSON
{
  "hex": "#5a792d",
  "rgb": {
    "r": 90,
    "g": 121,
    "b": 45
  },
  "hsl": {
    "h": 84.474,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53505,
    "c": 0.1099,
    "h": 128.4
  },
  "luminance": 0.16038
}

Semantic roles & 50–950 ramp

primary
#5A792D
secondary
#7958A9
accent
#52D588
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5A792D

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

Preview Lab → · Contrast checker → · Palette generator →

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