#5A6727#5A6727

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

Color values

HEX#5A6727
RGBrgb(90, 103, 39)
HSLhsl(72, 45%, 28%)
HSVhsv(72, 62%, 40%)
CMYKcmyk(12.6%, 0%, 62.1%, 59.6%)
CIE-LABlab(41.25, -15.27, 33.68)
CIE-LCHlch(41.25, 36.98, 114.39°)
OKLaboklab(48.83% -0.0441 0.078)
OKLCHoklch(48.83% 0.09 119.5)
XYZxyz(9.4330, 12.0207, 3.7423)
Luminance0.1202 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6727 #342767
analogous
#675427 #5A6727 #3A6727
triadic
#5A6727 #275A67 #67275A
tetradic
#5A6727 #276754 #342767 #67273A
square
#5A6727 #276754 #342767 #67273A
split-complementary
#5A6727 #273A67 #542767
monochromatic
#131608 #333B16 #5A6727 #819338 #A5BC4D

Accessibility & contrast

On white

6.17
#5A6727 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5A6727
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6727#FFFFFF#000000##FFFFFF
##5A67271.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a6727;
/* rgb */ color: rgb(90, 103, 39);
/* oklch */ color: oklch(48.8% 0.090 119.5);
Tailwind
colors: {
  custom: {
    50: '#8a9264',
    500: '#5a6727',
    950: '#000000',
  },
}
SCSS
$custom: #5a6727;
$custom-light: #8a9264;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6727",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 39
  },
  "hsl": {
    "h": 72.188,
    "s": 45.07,
    "l": 27.843
  },
  "oklch": {
    "l": 0.48826,
    "c": 0.08956,
    "h": 119.5
  },
  "luminance": 0.12021
}

Semantic roles & 50–950 ramp

primary
#5A6727
secondary
#5F509A
accent
#53D56D
background
#F8F8F6
surface
#F0F0EB
border
#CBCBC6
text
#0C0D05
muted
#7D7D7A

Preview Lab

Preview with #5A6727

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

Preview Lab → · Contrast checker → · Palette generator →

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