#5A6730#5A6730

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

Color values

HEX#5A6730
RGBrgb(90, 103, 48)
HSLhsl(74, 36%, 30%)
HSVhsv(74, 53%, 40%)
CMYKcmyk(12.6%, 0%, 53.4%, 59.6%)
CIE-LABlab(41.35, -14.36, 29.11)
CIE-LCHlch(41.35, 32.47, 116.26°)
OKLaboklab(48.95% -0.0406 0.0691)
OKLCHoklch(48.95% 0.08 120.4)
XYZxyz(9.6003, 12.0876, 4.6231)
Luminance0.1209 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6730 #3D3067
analogous
#675930 #5A6730 #3F6730
triadic
#5A6730 #305A67 #67305A
tetradic
#5A6730 #306759 #3D3067 #67303F
square
#5A6730 #306759 #3D3067 #67303F
split-complementary
#5A6730 #303F67 #593067
monochromatic
#12150A #363D1D #5A6730 #7E9143 #9FB45E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A6730#FFFFFF#000000##FFFFFF
##5A67301.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)
#6D622B
Deuteranopia (green-blind)
#6B6233
Tritanopia (blue-blind)
#5E625A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5a6730;
/* rgb */ color: rgb(90, 103, 48);
/* oklch */ color: oklch(48.9% 0.080 120.4);
Tailwind
colors: {
  custom: {
    50: '#8a926a',
    500: '#5a6730',
    950: '#000000',
  },
}
SCSS
$custom: #5a6730;
$custom-light: #8a926a;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6730",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 48
  },
  "hsl": {
    "h": 74.182,
    "s": 36.424,
    "l": 29.608
  },
  "oklch": {
    "l": 0.48945,
    "c": 0.08015,
    "h": 120.4
  },
  "luminance": 0.12088
}

Semantic roles & 50–950 ramp

primary
#5A6730
secondary
#695A98
accent
#5BCC76
background
#F8F8F6
surface
#F0F0EB
border
#CBCBC6
text
#0C0D06
muted
#7D7D7A

Preview Lab

Preview with #5A6730

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

Preview Lab → · Contrast checker → · Palette generator →

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