#5E7A2C#5E7A2C

#5E7A2C is a mid, moderate yellow-green. Relative luminance 0.165; OKLCH L 54.0% C 0.110 H 126.5°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#5E7A2C
RGBrgb(94, 122, 44)
HSLhsl(82, 47%, 33%)
HSVhsv(82, 64%, 48%)
CMYKcmyk(23%, 0%, 63.9%, 52.2%)
CIE-LABlab(47.60, -23.09, 38.37)
CIE-LCHlch(47.60, 44.78, 121.04°)
OKLaboklab(54.04% -0.0656 0.0885)
OKLCHoklch(54.04% 0.11 126.5)
XYZxyz(12.0303, 16.4804, 4.9296)
Luminance0.1648 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7A2C #482C7A
analogous
#7A6F2C #5E7A2C #377A2C
triadic
#5E7A2C #2C5E7A #7A2C5E
tetradic
#5E7A2C #2C7A6F #482C7A #7A2C37
square
#5E7A2C #2C7A6F #482C7A #7A2C37
split-complementary
#5E7A2C #2C377A #6F2C7A
monochromatic
#19200C #3B4D1C #5E7A2C #81A73C #9FC45C

Accessibility & contrast

On white

4.89
#5E7A2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#5E7A2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7A2C
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7A2C#FFFFFF#000000##FFFFFF
##5E7A2C1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807223
Deuteranopia (green-blind)
#7C7032
Tritanopia (blue-blind)
#62746A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5e7a2c;
/* rgb */ color: rgb(94, 122, 44);
/* oklch */ color: oklch(54.0% 0.110 126.5);
Tailwind
colors: {
  custom: {
    50: '#8ea069',
    500: '#5e7a2c',
    950: '#000000',
  },
}
SCSS
$custom: #5e7a2c;
$custom-light: #8ea069;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7a2c",
  "rgb": {
    "r": 94,
    "g": 122,
    "b": 44
  },
  "hsl": {
    "h": 81.538,
    "s": 46.988,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54036,
    "c": 0.11017,
    "h": 126.5
  },
  "luminance": 0.16481
}

Semantic roles & 50–950 ramp

primary
#5E7A2C
secondary
#7557AA
accent
#51D781
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5E7A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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