#5A6723#5A6723

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

Color values

HEX#5A6723
RGBrgb(90, 103, 35)
HSLhsl(71, 49%, 27%)
HSVhsv(71, 66%, 40%)
CMYKcmyk(12.6%, 0%, 66%, 59.6%)
CIE-LABlab(41.21, -15.61, 35.59)
CIE-LCHlch(41.21, 38.86, 113.69°)
OKLaboklab(48.78% -0.0455 0.0814)
OKLCHoklch(48.78% 0.093 119.2)
XYZxyz(9.3702, 11.9956, 3.4115)
Luminance0.1200 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6723 #302367
analogous
#675223 #5A6723 #386723
triadic
#5A6723 #235A67 #67235A
tetradic
#5A6723 #236752 #302367 #672338
square
#5A6723 #236752 #302367 #672338
split-complementary
#5A6723 #233867 #522367
monochromatic
#141708 #323913 #5A6723 #829533 #A8C045

Accessibility & contrast

On white

6.18
#5A6723 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5A6723
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6723#FFFFFF#000000##FFFFFF
##5A67231.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E611B
Deuteranopia (green-blind)
#6C6128
Tritanopia (blue-blind)
#5F6159
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5a6723;
/* rgb */ color: rgb(90, 103, 35);
/* oklch */ color: oklch(48.8% 0.093 119.2);
Tailwind
colors: {
  custom: {
    50: '#8b9261',
    500: '#5a6723',
    950: '#000000',
  },
}
SCSS
$custom: #5a6723;
$custom-light: #8b9261;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6723",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 35
  },
  "hsl": {
    "h": 71.471,
    "s": 49.275,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48781,
    "c": 0.09328,
    "h": 119.2
  },
  "luminance": 0.11996
}

Semantic roles & 50–950 ramp

primary
#5A6723
secondary
#5A4B9B
accent
#4FD969
background
#F8F8F5
surface
#F0F0EA
border
#CBCBC6
text
#0C0D05
muted
#7D7D79

Preview Lab

Preview with #5A6723

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

Preview Lab → · Contrast checker → · Palette generator →

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