#5E702A#5E702A

#5E702A is a mid, moderate yellow-green. Relative luminance 0.141; OKLCH L 51.5% C 0.098 H 122.0°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#5E702A
RGBrgb(94, 112, 42)
HSLhsl(75, 45%, 30%)
HSVhsv(75, 63%, 44%)
CMYKcmyk(16.1%, 0%, 62.5%, 56.1%)
CIE-LABlab(44.43, -18.07, 35.82)
CIE-LCHlch(44.43, 40.12, 116.77°)
OKLaboklab(51.47% -0.0519 0.0828)
OKLCHoklch(51.47% 0.098 122)
XYZxyz(10.8283, 14.1352, 4.3479)
Luminance0.1414 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E702A #3C2A70
analogous
#705F2A #5E702A #3B702A
triadic
#5E702A #2A5E70 #702A5E
tetradic
#5E702A #2A705F #3C2A70 #702A3B
square
#5E702A #2A705F #3C2A70 #702A3B
split-complementary
#5E702A #2A3B70 #5F2A70
monochromatic
#131709 #394319 #5E702A #839D3B #A4BF55

Accessibility & contrast

On white

5.49
#5E702A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#5E702A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E702A
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E702A#FFFFFF#000000##FFFFFF
##5E702A1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776922
Deuteranopia (green-blind)
#74692F
Tritanopia (blue-blind)
#636A61
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5e702a;
/* rgb */ color: rgb(94, 112, 42);
/* oklch */ color: oklch(51.5% 0.098 122.0);
Tailwind
colors: {
  custom: {
    50: '#8e9967',
    500: '#5e702a',
    950: '#000000',
  },
}
SCSS
$custom: #5e702a;
$custom-light: #8e9967;
$custom-dark: #000000;
JSON
{
  "hex": "#5e702a",
  "rgb": {
    "r": 94,
    "g": 112,
    "b": 42
  },
  "hsl": {
    "h": 75.429,
    "s": 45.455,
    "l": 30.196
  },
  "oklch": {
    "l": 0.5147,
    "c": 0.09773,
    "h": 122
  },
  "luminance": 0.14135
}

Semantic roles & 50–950 ramp

primary
#5E702A
secondary
#6854A2
accent
#53D574
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0D06
muted
#7D7E7A

Preview Lab

Preview with #5E702A

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

Preview Lab → · Contrast checker → · Palette generator →

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