#5E862C#5E862C

#5E862C is a mid, vivid yellow-green. Relative luminance 0.196; OKLCH L 57.1% C 0.127 H 130.1°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#5E862C
RGBrgb(94, 134, 44)
HSLhsl(87, 51%, 35%)
HSVhsv(87, 67%, 53%)
CMYKcmyk(29.9%, 0%, 67.2%, 47.5%)
CIE-LABlab(51.39, -29.00, 42.48)
CIE-LCHlch(51.39, 51.44, 124.32°)
OKLaboklab(57.11% -0.0819 0.0972)
OKLCHoklch(57.11% 0.127 130.1)
XYZxyz(13.5957, 19.6113, 5.4514)
Luminance0.1961 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E862C #542C86
analogous
#86812C #5E862C #31862C
triadic
#5E862C #2C5E86 #862C5E
tetradic
#5E862C #2C8681 #542C86 #862C31
square
#5E862C #2C8681 #542C86 #862C31
split-complementary
#5E862C #2C3186 #812C86
monochromatic
#1D2A0E #3E581D #5E862C #7EB43B #9CCB61

Accessibility & contrast

On white

4.27
#5E862C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#5E862C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E862C
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E862C#FFFFFF#000000##000000
##5E862C1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C20
Deuteranopia (green-blind)
#877933
Tritanopia (blue-blind)
#608073
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5e862c;
/* rgb */ color: rgb(94, 134, 44);
/* oklch */ color: oklch(57.1% 0.127 130.1);
Tailwind
colors: {
  custom: {
    50: '#8fa96a',
    500: '#5e862c',
    950: '#000000',
  },
}
SCSS
$custom: #5e862c;
$custom-light: #8fa96a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e862c",
  "rgb": {
    "r": 94,
    "g": 134,
    "b": 44
  },
  "hsl": {
    "h": 86.667,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57114,
    "c": 0.12711,
    "h": 130.1
  },
  "luminance": 0.19612
}

Semantic roles & 50–950 ramp

primary
#5E862C
secondary
#825CB1
accent
#4EDA8C
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5E862C

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

Preview Lab → · Contrast checker → · Palette generator →

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