#5A6725#5A6725

#5A6725 is a mid, moderate yellow-green. Relative luminance 0.120; OKLCH L 48.8% C 0.091 H 119.3°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#5A6725
RGBrgb(90, 103, 37)
HSLhsl(72, 47%, 27%)
HSVhsv(72, 64%, 40%)
CMYKcmyk(12.6%, 0%, 64.1%, 59.6%)
CIE-LABlab(41.23, -15.44, 34.64)
CIE-LCHlch(41.23, 37.93, 114.03°)
OKLaboklab(48.8% -0.0448 0.0797)
OKLCHoklch(48.8% 0.091 119.3)
XYZxyz(9.4008, 12.0078, 3.5724)
Luminance0.1201 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6725 #322567
analogous
#675325 #5A6725 #396725
triadic
#5A6725 #255A67 #67255A
tetradic
#5A6725 #256753 #322567 #672539
square
#5A6725 #256753 #322567 #672539
split-complementary
#5A6725 #253967 #532567
monochromatic
#141708 #333A15 #5A6725 #819435 #A7BE49

Accessibility & contrast

On white

6.17
#5A6725 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#5A6725 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6725
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6725#FFFFFF#000000##FFFFFF
##5A67251.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E611D
Deuteranopia (green-blind)
#6C6129
Tritanopia (blue-blind)
#5F6259
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5a6725;
/* rgb */ color: rgb(90, 103, 37);
/* oklch */ color: oklch(48.8% 0.091 119.3);
Tailwind
colors: {
  custom: {
    50: '#8a9263',
    500: '#5a6725',
    950: '#000000',
  },
}
SCSS
$custom: #5a6725;
$custom-light: #8a9263;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6725",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 37
  },
  "hsl": {
    "h": 71.818,
    "s": 47.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.48803,
    "c": 0.09146,
    "h": 119.3
  },
  "luminance": 0.12008
}

Semantic roles & 50–950 ramp

primary
#5A6725
secondary
#5D4E9A
accent
#51D76B
background
#F8F8F6
surface
#F0F0EB
border
#CBCBC6
text
#0C0D05
muted
#7D7D7A

Preview Lab

Preview with #5A6725

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

Preview Lab → · Contrast checker → · Palette generator →

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