#5A6732#5A6732

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

Color values

HEX#5A6732
RGBrgb(90, 103, 50)
HSLhsl(75, 35%, 30%)
HSVhsv(75, 51%, 40%)
CMYKcmyk(12.6%, 0%, 51.5%, 59.6%)
CIE-LABlab(41.38, -14.14, 28.06)
CIE-LCHlch(41.38, 31.42, 116.74°)
OKLaboklab(48.98% -0.0398 0.067)
OKLCHoklch(48.98% 0.078 120.7)
XYZxyz(9.6425, 12.1045, 4.8454)
Luminance0.1210 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6732 #3F3267
analogous
#675A32 #5A6732 #3F6732
triadic
#5A6732 #325A67 #67325A
tetradic
#5A6732 #32675A #3F3267 #67323F
square
#5A6732 #32675A #3F3267 #67323F
split-complementary
#5A6732 #323F67 #5A3267
monochromatic
#12150A #363E1E #5A6732 #7E9046 #9EB261

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A6732#FFFFFF#000000##FFFFFF
##5A67321.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)
#6D622D
Deuteranopia (green-blind)
#6B6235
Tritanopia (blue-blind)
#5E625B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5a6732;
/* rgb */ color: rgb(90, 103, 50);
/* oklch */ color: oklch(49.0% 0.078 120.7);
Tailwind
colors: {
  custom: {
    50: '#8a926b',
    500: '#5a6732',
    950: '#000000',
  },
}
SCSS
$custom: #5a6732;
$custom-light: #8a926b;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6732",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 50
  },
  "hsl": {
    "h": 74.717,
    "s": 34.641,
    "l": 30
  },
  "oklch": {
    "l": 0.48975,
    "c": 0.07789,
    "h": 120.7
  },
  "luminance": 0.12104
}

Semantic roles & 50–950 ramp

primary
#5A6732
secondary
#6B5D98
accent
#5DCB78
background
#F8F8F6
surface
#F0F0EB
border
#CBCBC6
text
#0C0D07
muted
#7D7D7A

Preview Lab

Preview with #5A6732

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

Preview Lab → · Contrast checker → · Palette generator →

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