#5A6734#5A6734

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

Color values

HEX#5A6734
RGBrgb(90, 103, 52)
HSLhsl(75, 33%, 30%)
HSVhsv(75, 50%, 40%)
CMYKcmyk(12.6%, 0%, 49.5%, 59.6%)
CIE-LABlab(41.41, -13.90, 26.99)
CIE-LCHlch(41.41, 30.36, 117.25°)
OKLaboklab(49.01% -0.0389 0.0648)
OKLCHoklch(49.01% 0.076 121)
XYZxyz(9.6866, 12.1221, 5.0776)
Luminance0.1212 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6734 #413467
analogous
#675A34 #5A6734 #406734
triadic
#5A6734 #345A67 #67345A
tetradic
#5A6734 #34675A #413467 #673440
square
#5A6734 #34675A #413467 #673440
split-complementary
#5A6734 #344067 #5A3467
monochromatic
#13160B #363E1F #5A6734 #7E9049 #9DB164

Accessibility & contrast

On white

6.13
#5A6734 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5A6734
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6734#FFFFFF#000000##FFFFFF
##5A67341.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a6734;
/* rgb */ color: rgb(90, 103, 52);
/* oklch */ color: oklch(49.0% 0.076 121.0);
Tailwind
colors: {
  custom: {
    50: '#8a926d',
    500: '#5a6734',
    950: '#000000',
  },
}
SCSS
$custom: #5a6734;
$custom-light: #8a926d;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6734",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 52
  },
  "hsl": {
    "h": 75.294,
    "s": 32.903,
    "l": 30.392
  },
  "oklch": {
    "l": 0.49007,
    "c": 0.07556,
    "h": 121
  },
  "luminance": 0.12122
}

Semantic roles & 50–950 ramp

primary
#5A6734
secondary
#6D5F98
accent
#5FC97A
background
#F8F8F6
surface
#F0F0EB
border
#CBCBC6
text
#0C0D07
muted
#7D7D7A

Preview Lab

Preview with #5A6734

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

Preview Lab → · Contrast checker → · Palette generator →

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