#5A6733#5A6733

#5A6733 is a mid, moderate yellow-green. Relative luminance 0.121; OKLCH L 49.0% C 0.077 H 120.8°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#5A6733
RGBrgb(90, 103, 51)
HSLhsl(75, 34%, 30%)
HSVhsv(75, 50%, 40%)
CMYKcmyk(12.6%, 0%, 50.5%, 59.6%)
CIE-LABlab(41.40, -14.02, 27.53)
CIE-LCHlch(41.40, 30.89, 116.99°)
OKLaboklab(48.99% -0.0394 0.0659)
OKLCHoklch(48.99% 0.077 120.8)
XYZxyz(9.6643, 12.1132, 4.9603)
Luminance0.1211 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6733 #403367
analogous
#675A33 #5A6733 #406733
triadic
#5A6733 #335A67 #67335A
tetradic
#5A6733 #33675A #403367 #673340
square
#5A6733 #33675A #403367 #673340
split-complementary
#5A6733 #334067 #5A3367
monochromatic
#12150A #363E1F #5A6733 #7E9047 #9EB263

Accessibility & contrast

On white

6.14
#5A6733 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#5A6733 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6733
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6733#FFFFFF#000000##FFFFFF
##5A67331.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D622F
Deuteranopia (green-blind)
#6B6236
Tritanopia (blue-blind)
#5E625B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5a6733;
/* rgb */ color: rgb(90, 103, 51);
/* oklch */ color: oklch(49.0% 0.077 120.8);
Tailwind
colors: {
  custom: {
    50: '#8a926c',
    500: '#5a6733',
    950: '#000000',
  },
}
SCSS
$custom: #5a6733;
$custom-light: #8a926c;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6733",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 51
  },
  "hsl": {
    "h": 75,
    "s": 33.766,
    "l": 30.196
  },
  "oklch": {
    "l": 0.48991,
    "c": 0.07674,
    "h": 120.8
  },
  "luminance": 0.12113
}

Semantic roles & 50–950 ramp

primary
#5A6733
secondary
#6C5E98
accent
#5ECA79
background
#F8F8F6
surface
#F0F0EB
border
#CBCBC6
text
#0C0D07
muted
#7D7D7A

Preview Lab

Preview with #5A6733

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

Preview Lab → · Contrast checker → · Palette generator →

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