#5E6B2A#5E6B2A

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

Color values

HEX#5E6B2A
RGBrgb(94, 107, 42)
HSLhsl(72, 44%, 29%)
HSVhsv(72, 61%, 42%)
CMYKcmyk(12.1%, 0%, 60.7%, 58%)
CIE-LABlab(42.86, -15.38, 34.07)
CIE-LCHlch(42.86, 37.38, 114.29°)
OKLaboklab(50.21% -0.0443 0.0791)
OKLCHoklch(50.21% 0.091 119.3)
XYZxyz(10.2918, 13.0623, 4.1691)
Luminance0.1306 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6B2A #372A6B
analogous
#6B582A #5E6B2A #3E6B2A
triadic
#5E6B2A #2A5E6B #6B2A5E
tetradic
#5E6B2A #2A6B58 #372A6B #6B2A3E
square
#5E6B2A #2A6B58 #372A6B #6B2A3E
split-complementary
#5E6B2A #2A3E6B #582A6B
monochromatic
#131609 #373F19 #5E6B2A #85973B #A7BC54

Accessibility & contrast

On white

5.81
#5E6B2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#5E6B2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E6B2A
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6B2A#FFFFFF#000000##FFFFFF
##5E6B2A1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726523
Deuteranopia (green-blind)
#70652E
Tritanopia (blue-blind)
#63655D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5e6b2a;
/* rgb */ color: rgb(94, 107, 42);
/* oklch */ color: oklch(50.2% 0.091 119.3);
Tailwind
colors: {
  custom: {
    50: '#8d9566',
    500: '#5e6b2a',
    950: '#000000',
  },
}
SCSS
$custom: #5e6b2a;
$custom-light: #8d9566;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6b2a",
  "rgb": {
    "r": 94,
    "g": 107,
    "b": 42
  },
  "hsl": {
    "h": 72,
    "s": 43.624,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50208,
    "c": 0.09067,
    "h": 119.3
  },
  "luminance": 0.13062
}

Semantic roles & 50–950 ramp

primary
#5E6B2A
secondary
#62549D
accent
#54D36E
background
#F8F9F6
surface
#F0F1EB
border
#CBCBC6
text
#0C0D06
muted
#7D7E7A

Preview Lab

Preview with #5E6B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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