#5E702D#5E702D

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

Color values

HEX#5E702D
RGBrgb(94, 112, 45)
HSLhsl(76, 43%, 31%)
HSVhsv(76, 60%, 44%)
CMYKcmyk(16.1%, 0%, 59.8%, 56.1%)
CIE-LABlab(44.46, -17.79, 34.37)
CIE-LCHlch(44.46, 38.70, 117.37°)
OKLaboklab(51.51% -0.0508 0.0801)
OKLCHoklch(51.51% 0.095 122.4)
XYZxyz(10.8840, 14.1575, 4.6414)
Luminance0.1416 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E702D #3F2D70
analogous
#70602D #5E702D #3C702D
triadic
#5E702D #2D5E70 #702D5E
tetradic
#5E702D #2D7060 #3F2D70 #702D3C
square
#5E702D #2D7060 #3F2D70 #702D3C
split-complementary
#5E702D #2D3C70 #602D70
monochromatic
#15190A #39441B #5E702D #839C3F #A2BD5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E702D#FFFFFF#000000##FFFFFF
##5E702D1.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)
#766A26
Deuteranopia (green-blind)
#746931
Tritanopia (blue-blind)
#626B61
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5e702d;
/* rgb */ color: rgb(94, 112, 45);
/* oklch */ color: oklch(51.5% 0.095 122.4);
Tailwind
colors: {
  custom: {
    50: '#8d9968',
    500: '#5e702d',
    950: '#000000',
  },
}
SCSS
$custom: #5e702d;
$custom-light: #8d9968;
$custom-dark: #000000;
JSON
{
  "hex": "#5e702d",
  "rgb": {
    "r": 94,
    "g": 112,
    "b": 45
  },
  "hsl": {
    "h": 76.119,
    "s": 42.675,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51506,
    "c": 0.09484,
    "h": 122.4
  },
  "luminance": 0.14157
}

Semantic roles & 50–950 ramp

primary
#5E702D
secondary
#6B57A2
accent
#55D277
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0D06
muted
#7D7E7A

Preview Lab

Preview with #5E702D

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

Preview Lab → · Contrast checker → · Palette generator →

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