#5A6735#5A6735

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

Color values

HEX#5A6735
RGBrgb(90, 103, 53)
HSLhsl(76, 32%, 31%)
HSVhsv(76, 49%, 40%)
CMYKcmyk(12.6%, 0%, 48.5%, 59.6%)
CIE-LABlab(41.42, -13.78, 26.46)
CIE-LCHlch(41.42, 29.83, 117.52°)
OKLaboklab(49.02% -0.0385 0.0637)
OKLCHoklch(49.02% 0.074 121.2)
XYZxyz(9.7093, 12.1312, 5.1975)
Luminance0.1213 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6735 #423567
analogous
#675B35 #5A6735 #416735
triadic
#5A6735 #355A67 #67355A
tetradic
#5A6735 #35675B #423567 #673541
square
#5A6735 #35675B #423567 #673541
split-complementary
#5A6735 #354167 #5B3567
monochromatic
#13160B #373F20 #5A6735 #7D8F4A #9DB066

Accessibility & contrast

On white

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

On black

3.43
#5A6735 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5A6735#FFFFFF#000000##FFFFFF
##5A67351.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6231
Deuteranopia (green-blind)
#6B6238
Tritanopia (blue-blind)
#5E635B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5a6735;
/* rgb */ color: rgb(90, 103, 53);
/* oklch */ color: oklch(49.0% 0.074 121.2);
Tailwind
colors: {
  custom: {
    50: '#8a926d',
    500: '#5a6735',
    950: '#000000',
  },
}
SCSS
$custom: #5a6735;
$custom-light: #8a926d;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6735",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 53
  },
  "hsl": {
    "h": 75.6,
    "s": 32.051,
    "l": 30.588
  },
  "oklch": {
    "l": 0.49023,
    "c": 0.07438,
    "h": 121.2
  },
  "luminance": 0.12131
}

Semantic roles & 50–950 ramp

primary
#5A6735
secondary
#6F6098
accent
#60C87B
background
#F8F8F6
surface
#F0F0EB
border
#CBCBC6
text
#0C0D07
muted
#7D7D7A

Preview Lab

Preview with #5A6735

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

Preview Lab → · Contrast checker → · Palette generator →

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