#5A6745#5A6745

#5A6745 is a mid, muted yellow-green. Relative luminance 0.123; OKLCH L 49.3% C 0.054 H 125.3°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#5A6745
RGBrgb(90, 103, 69)
HSLhsl(83, 20%, 34%)
HSVhsv(83, 33%, 40%)
CMYKcmyk(12.6%, 0%, 33%, 59.6%)
CIE-LABlab(41.69, -11.54, 17.60)
CIE-LCHlch(41.69, 21.05, 123.25°)
OKLaboklab(49.33% -0.0312 0.044)
OKLCHoklch(49.33% 0.054 125.3)
XYZxyz(10.1408, 12.3038, 7.4697)
Luminance0.1230 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6745 #524567
analogous
#676345 #5A6745 #496745
triadic
#5A6745 #455A67 #67455A
tetradic
#5A6745 #456763 #524567 #674549
square
#5A6745 #456763 #524567 #674549
split-complementary
#5A6745 #454967 #634567
monochromatic
#1A1E14 #3A422C #5A6745 #7A8C5E #98A97E

Accessibility & contrast

On white

6.07
#5A6745 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#5A6745 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6745
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6745#FFFFFF#000000##FFFFFF
##5A67451.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6343
Deuteranopia (green-blind)
#696247
Tritanopia (blue-blind)
#5C645E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5a6745;
/* rgb */ color: rgb(90, 103, 69);
/* oklch */ color: oklch(49.3% 0.054 125.3);
Tailwind
colors: {
  custom: {
    50: '#899279',
    500: '#5a6745',
    950: '#000000',
  },
}
SCSS
$custom: #5a6745;
$custom-light: #899279;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6745",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 69
  },
  "hsl": {
    "h": 82.941,
    "s": 19.767,
    "l": 33.725
  },
  "oklch": {
    "l": 0.49328,
    "c": 0.05396,
    "h": 125.3
  },
  "luminance": 0.12304
}

Semantic roles & 50–950 ramp

primary
#5A6745
secondary
#807395
accent
#6BBC8A
background
#F8F8F7
surface
#F0F0ED
border
#CBCBC8
text
#0B0D09
muted
#7C7D7B

Preview Lab

Preview with #5A6745

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

Preview Lab → · Contrast checker → · Palette generator →

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