#5A6724#5A6724

#5A6724 is a mid, moderate yellow-green. Relative luminance 0.120; OKLCH L 48.8% C 0.092 H 119.3°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#5A6724
RGBrgb(90, 103, 36)
HSLhsl(72, 48%, 27%)
HSVhsv(72, 65%, 40%)
CMYKcmyk(12.6%, 0%, 65%, 59.6%)
CIE-LABlab(41.22, -15.53, 35.12)
CIE-LCHlch(41.22, 38.40, 113.85°)
OKLaboklab(48.79% -0.0451 0.0806)
OKLCHoklch(48.79% 0.092 119.3)
XYZxyz(9.3853, 12.0016, 3.4908)
Luminance0.1200 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6724 #312467
analogous
#675324 #5A6724 #396724
triadic
#5A6724 #245A67 #67245A
tetradic
#5A6724 #246753 #312467 #672439
square
#5A6724 #246753 #312467 #672439
split-complementary
#5A6724 #243967 #532467
monochromatic
#141708 #323A14 #5A6724 #829434 #A7BF47

Accessibility & contrast

On white

6.18
#5A6724 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#5A6724 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6724
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6724#FFFFFF#000000##FFFFFF
##5A67241.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E611C
Deuteranopia (green-blind)
#6C6129
Tritanopia (blue-blind)
#5F6259
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5a6724;
/* rgb */ color: rgb(90, 103, 36);
/* oklch */ color: oklch(48.8% 0.092 119.3);
Tailwind
colors: {
  custom: {
    50: '#8b9262',
    500: '#5a6724',
    950: '#000000',
  },
}
SCSS
$custom: #5a6724;
$custom-light: #8b9262;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6724",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 36
  },
  "hsl": {
    "h": 71.642,
    "s": 48.201,
    "l": 27.255
  },
  "oklch": {
    "l": 0.48792,
    "c": 0.09238,
    "h": 119.3
  },
  "luminance": 0.12002
}

Semantic roles & 50–950 ramp

primary
#5A6724
secondary
#5C4C9A
accent
#50D86A
background
#F8F8F5
surface
#F0F0EA
border
#CBCBC6
text
#0C0D05
muted
#7D7D79

Preview Lab

Preview with #5A6724

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

Preview Lab → · Contrast checker → · Palette generator →

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