#5E702F#5E702F

#5E702F is a mid, moderate yellow-green. Relative luminance 0.142; OKLCH L 51.5% C 0.093 H 122.6°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#5E702F
RGBrgb(94, 112, 47)
HSLhsl(77, 41%, 31%)
HSVhsv(77, 58%, 44%)
CMYKcmyk(16.1%, 0%, 58%, 56.1%)
CIE-LABlab(44.48, -17.60, 33.38)
CIE-LCHlch(44.48, 37.74, 117.79°)
OKLaboklab(51.53% -0.05 0.0782)
OKLCHoklch(51.53% 0.093 122.6)
XYZxyz(10.9234, 14.1732, 4.8490)
Luminance0.1417 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E702F #412F70
analogous
#70612F #5E702F #3D702F
triadic
#5E702F #2F5E70 #702F5E
tetradic
#5E702F #2F7061 #412F70 #702F3D
square
#5E702F #2F7061 #412F70 #702F3D
split-complementary
#5E702F #2F3D70 #612F70
monochromatic
#161A0B #3A451D #5E702F #829B41 #A2BB5E

Accessibility & contrast

On white

5.48
#5E702F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5E702F
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E702F#FFFFFF#000000##FFFFFF
##5E702F1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766A28
Deuteranopia (green-blind)
#746933
Tritanopia (blue-blind)
#626B62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5e702f;
/* rgb */ color: rgb(94, 112, 47);
/* oklch */ color: oklch(51.5% 0.093 122.6);
Tailwind
colors: {
  custom: {
    50: '#8d996a',
    500: '#5e702f',
    950: '#000000',
  },
}
SCSS
$custom: #5e702f;
$custom-light: #8d996a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e702f",
  "rgb": {
    "r": 94,
    "g": 112,
    "b": 47
  },
  "hsl": {
    "h": 76.615,
    "s": 40.881,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51531,
    "c": 0.09285,
    "h": 122.6
  },
  "luminance": 0.14173
}

Semantic roles & 50–950 ramp

primary
#5E702F
secondary
#6D5AA1
accent
#57D179
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0D06
muted
#7D7E7A

Preview Lab

Preview with #5E702F

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

Preview Lab → · Contrast checker → · Palette generator →

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