#5E702C#5E702C

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

Color values

HEX#5E702C
RGBrgb(94, 112, 44)
HSLhsl(76, 44%, 31%)
HSVhsv(76, 61%, 44%)
CMYKcmyk(16.1%, 0%, 60.7%, 56.1%)
CIE-LABlab(44.45, -17.89, 34.86)
CIE-LCHlch(44.45, 39.18, 117.16°)
OKLaboklab(51.49% -0.0511 0.081)
OKLCHoklch(51.49% 0.096 122.3)
XYZxyz(10.8650, 14.1499, 4.5412)
Luminance0.1415 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E702C #3E2C70
analogous
#70602C #5E702C #3C702C
triadic
#5E702C #2C5E70 #702C5E
tetradic
#5E702C #2C7060 #3E2C70 #702C3C
square
#5E702C #2C7060 #3E2C70 #702C3C
split-complementary
#5E702C #2C3C70 #602C70
monochromatic
#141809 #39441B #5E702C #839C3D #A3BE59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E702C#FFFFFF#000000##FFFFFF
##5E702C1.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)
#766A25
Deuteranopia (green-blind)
#746930
Tritanopia (blue-blind)
#636B61
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5e702c;
/* rgb */ color: rgb(94, 112, 44);
/* oklch */ color: oklch(51.5% 0.096 122.3);
Tailwind
colors: {
  custom: {
    50: '#8d9968',
    500: '#5e702c',
    950: '#000000',
  },
}
SCSS
$custom: #5e702c;
$custom-light: #8d9968;
$custom-dark: #000000;
JSON
{
  "hex": "#5e702c",
  "rgb": {
    "r": 94,
    "g": 112,
    "b": 44
  },
  "hsl": {
    "h": 75.882,
    "s": 43.59,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51493,
    "c": 0.09583,
    "h": 122.3
  },
  "luminance": 0.1415
}

Semantic roles & 50–950 ramp

primary
#5E702C
secondary
#6A56A2
accent
#54D376
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0D06
muted
#7D7E7A

Preview Lab

Preview with #5E702C

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

Preview Lab → · Contrast checker → · Palette generator →

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